Message158565
| Author |
rfs |
| Recipients |
rfs |
| Date |
2012年04月17日.18:59:41 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334689181.81.0.435135933783.issue14606@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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"
<<<<<<<<<< |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月17日 18:59:41 | rfs | set | recipients:
+ rfs |
| 2012年04月17日 18:59:41 | rfs | set | messageid: <1334689181.81.0.435135933783.issue14606@psf.upfronthosting.co.za> |
| 2012年04月17日 18:59:41 | rfs | link | issue14606 messages |
| 2012年04月17日 18:59:41 | rfs | create |
|