Rewrite codes when parse meminfo.