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 vstinner
Recipients methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-01-24.09:57:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485251874.12.0.435281289748.issue29336@psf.upfronthosting.co.za>
In-reply-to
Content
I don't know what is the most efficient technic to reduce the memory usage of module, but at least I can say imports are the top #1 memory consumer. Look at tracemalloc examples:

https://docs.python.org/dev/library/tracemalloc.html#display-the-top-10

"We can see that Python loaded 4855 KiB data (bytecode and constants) from modules"
History
Date User Action Args
2017-01-24 09:57:54vstinnersetrecipients: + vstinner, rhettinger, methane, serhiy.storchaka
2017-01-24 09:57:54vstinnersetmessageid: <1485251874.12.0.435281289748.issue29336@psf.upfronthosting.co.za>
2017-01-24 09:57:54vstinnerlinkissue29336 messages
2017-01-24 09:57:53vstinnercreate