def getMemUsage():
  rss_pages = int( open('/proc/self/statm').read().split()[1] )
  return rss_pages * PAGESIZE
dataset/ETHPy150Open tmm1/graphite/carbon/lib/carbon/instrumentation.py/getMemUsage/original