def _get_mem():
# By using USS memory it seems it's less likely to bump
# into false positives.
if LINUX or WINDOWS or OSX:
return thisproc.memory_full_info().uss
else:
return thisproc.memory_info().rss
test_memory_leaks.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录