Skip to content

Commit 395f92a

Browse files
committed
Fix typo in runner.py that was causing a crash when getting memory information.
1 parent 22cc736 commit 395f92a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gridmap/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def get_memory_usage(pid):
106106
"""
107107

108108
p = Process(pid)
109-
return float(p.get_memory_usage()[0]) / (1024.0 ** 2.0)
109+
return float(p.get_memory_info()[0]) / (1024.0 ** 2.0)
110110

111111

112112
def get_cpu_load(pid):

0 commit comments

Comments
 (0)