def getMemoryUse(self):
info_dict = {}<EOL>try:<EOL><INDENT>fp = open(meminfoFile, '<STR_LIT:r>')<EOL>data = fp.read()<EOL>fp.close()<EOL><DEDENT>except:<EOL><INDENT>raise IOError('<STR_LIT>' % meminfoFile)<EOL><DEDENT>for line in data.splitlines():<EOL><INDENT>mobj = re.match('<STR_LIT>', line)<EOL>if mobj:<EOL><INDENT>if mobj.group(<NUM_LIT:3>).lower() == '<STR_LIT>':<EOL><INDENT>mult = <NUM_LIT><EOL><DEDENT>else:<EOL><INDENT>mult = <NUM_LIT:1><EOL><DEDENT>info_dict[mobj.group(<NUM_LIT:1>)] = int(mobj.group(<NUM_LIT:2>)) * mult<EOL><DEDENT><DEDENT>return info_dict<EOL>
Return stats for memory utilization.

        @return: Dictionary of stats.