This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author swapnil
Recipients amaury.forgeotdarc, benjamin.peterson, christian.heimes, eric.araujo, grahamd, loewis, ncoghlan, pitrou, python-dev, swapnil, vstinner
Date 2011-04-08.07:06:48
SpamBayes Score 8.868783e-05
Marked as misclassified No
Message-id <1302246410.34.0.932869842046.issue11803@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-04-08 07:06:50swapnilsetrecipients: + swapnil, loewis, amaury.forgeotdarc, ncoghlan, pitrou, vstinner, christian.heimes, benjamin.peterson, eric.araujo, grahamd, python-dev
2011-04-08 07:06:50swapnilsetmessageid: <1302246410.34.0.932869842046.issue11803@psf.upfronthosting.co.za>
2011-04-08 07:06:48swapnillinkissue11803 messages
2011-04-08 07:06:48swapnilcreate