use map to parse meminfo