[issue12361] Memory Leak in File Logging
Vinay Sajip
report at bugs.python.org
Sun Jun 19 13:54:49 CEST 2011
Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:
Thanks for the report, but more information from the failing system may be needed to find the problem. Although 2.6 does not contain full unit test coverage, the default branch does - and I tested there with resource leak checking turned on, with no leaks being detected. An eyeball inspection fails to show where a leak could be occurring: WatchedFileHandler just makes stat() calls and, if appropriate, calls flush/close on the existing stream and open on the new one.
Test output:
vinay at eta-jaunty:~/projects/python/default$ ./python Lib/test/regrtest.py -R :: test_logging
[1/1] test_logging
beginning 9 repetitions
123456789
.........
1 test OK.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12361>
_______________________________________
More information about the Python-bugs-list
mailing list