Message276514
Each time I run a shell command via the 'subprocess' module, I notice that the memory footprint of my program increases by roughly 4 KiB.
I've tested the problem with two different slices of code; the result is the same in either case (long after the function finishes).
Code slice 1:
check_output("true")
Code slice 2:
pTest = Popen("true", stdout=PIPE, stderr=PIPE)
pTest.wait()
pTest.stdout.close()
pTest.stderr.close()
del pTest
gc.collect()
I'm using Python v3.5.2-1 on Arch Linux; it was installed via the [extra] repository. Let me know if you need any further information. |
|
Date |
User |
Action |
Args |
2016-09-15 04:31:15 | Xavion | set | recipients:
+ Xavion |
2016-09-15 04:31:15 | Xavion | set | messageid: <1473913875.21.0.186726929179.issue28165@psf.upfronthosting.co.za> |
2016-09-15 04:31:15 | Xavion | link | issue28165 messages |
2016-09-15 04:31:14 | Xavion | create | |
|