We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6d4ea4 commit a9e5a02Copy full SHA for a9e5a02
1 file changed
memory_profiler.py
@@ -118,6 +118,9 @@ def ps_util_tool():
118
# fix for newer psutil
119
for p in process.children(recursive=True):
120
mem += getattr(p, meminfo_attr)()[0] / _TWO_20
121
+ except os.OSError:
122
+ # https://github.com/fabianp/memory_profiler/issues/71
123
+ pass
124
if timestamps:
125
return mem, time.time()
126
else:
0 commit comments