python - How to limit the memory used by a process using psutil? -


i wondering how limit memory used process created using subprocess.popen shell=true , should detect if process uses more memory allotted.

preferably looking solution using psutil. using python 3.4 in windows 7.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

how does one get csharp-sqlite to throw exceptions for duplicates or foreign key constraint violations -

Simple Angular 2 project fails 'Unexpected reserved word' -