New submission from Roland <[email protected]>:
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 <[email protected]>
<http://bugs.python.org/issue14606>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com