[issue28165] The 'subprocess' module leaks roughly 4 KiB of memory per call
Xavion
report at bugs.python.org
Thu Sep 15 01:54:28 EDT 2016
Xavion added the comment:
I wouldn't have reported this if it was only happening *once*. I already have it in a loop; a new shell command is fired every second.
The memory footprint increases by roughly 4 KiB *each* time. I monitor it via the following Bash script:
while true; do
ps -C "python3 ./Program.pyw" -o pid=,%mem=,rss= >> ./Output.log
sleep 1
done &
I have attached the logfile for your convenience. Let me know if you'd like me to run any other tests.
----------
Added file: http://bugs.python.org/file44671/Output.log
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28165>
_______________________________________
More information about the Python-bugs-list
mailing list