New submission from Swapnil Talekar <swapnil...@gmail.com>: In the attached program, the total memory consumption of the process, goes up each time a new subinterpreter imports a bunch of modules. When the subinterpreter is shutdown with Py_EndInterpreter, the memory consumed with import of modules is not returned back. Hence the amount of memory consumed keeps increasing with each loop. It goes up from about 8MB to about 11MB after few loops. Strangely it doesn't rise any further.
I have tested this only for Python 2.6.5 ---------- components: Interpreter Core files: test_subinterpreter.c messages: 133292 nosy: amaury.forgeotdarc, benjamin.peterson, christian.heimes, eric.araujo, grahamd, haypo, loewis, ncoghlan, pitrou, python-dev, swapnil priority: normal severity: normal status: open title: Memory leak in sub-interpreters type: resource usage versions: Python 2.6 Added file: http://bugs.python.org/file21577/test_subinterpreter.c _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11803> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com