Recovering memory from loaded modules

Itamar Shtull-Trauring itamar at zoteca.com
Tue Jun 5 13:02:03 EDT 2001


Hiya everyone,

I've got a long running process that uses lots of modules (XML, wxPython).
Therefore, memory usage is really high (17MB). Now, I don't actually need
all the modules at all times - so, how can I unload modules from memory?
Delete all references, and delete from sys.modules? This doesn't seem to
help.

-- 
itamar(at)shtull-trauring.org  ||  itamar(at)zoteca.com
http://itamarst.org            ||  http://www.zoteca.com




More information about the Python-list mailing list