def memory_usage_psutil():
    process = psutil.Process(os.getpid())
    mem = process.memory_info()[0] / float(2 ** 20)
    mem_vms = process.memory_info()[1] / float(2 ** 20)
    return mem, mem_vms
Return the current process memory usage in MB.
dataset/ETHPy150Open ottogroup/palladium/palladium/util.py/memory_usage_psutil