[issue14606] Memory leak subprocess
Roland
report at bugs.python.org
Tue Apr 17 20:59:41 CEST 2012
New submission from Roland <rfs at ebi.ac.uk>:
subprocess leaks memory on win 7 64bit (Python 2.7.3 32bit).
The following code snippet will fill up memory slowly but completely after running it multiple times. When python exits the memory is not freed.
>>>>>>>>>>
import subprocess
import shlex
for i in range(0, 10000):
p = subprocess.Popen(shlex.split("ipconfig", posix=False))
result = p.communicate()
print "end"
<<<<<<<<<<
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14606>
_______________________________________
More information about the Python-bugs-list
mailing list