STINNER Victor added the comment:

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"

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29336>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to