

@wrap_exceptions
def get_memory_info(self):
    f = open(('/proc/%s/statm' % self.pid))
    try:
        (vms, rss) = f.readline().split()[:2]
        return nt_meminfo((int(f) * _PAGESIZE), (int(vms) * _PAGESIZE))
    finally:
        f.close()

dataset/ETHPy150Open packages/psutil/psutil/_pslinux.py Process.get_memory_info/VarMisuse@56/70 `rss`->`f`