Bug 969210 - Rewrite the parser to be more permissive and foresee more changes.
Bug 972166 - MemInfo was not safe to call twice.