如何使用psutil限制进程使用的内存?

时间:2015-03-17 06:07:21

标签: python windows subprocess psutil

我想知道如何限制使用subprocess.Popen使用shell=True创建的进程使用的内存,并且还应该检测进程是否使用的内存多于分配的内存。

我最好使用psutil寻找解决方案。我在Windows 7中使用python 3.4。

0 个答案:

没有答案
相关问题