Memory problems

K

Ken Seehart

My beta testers are complaining about excessive memory usage. It's a
wxPython app with several embedded mozilla activex controls and a local
web server.

Unfortunately, Python has some problems in this area. In particular,
since ubiquitous lists and dictionaries are dynamically resized as
needed, memory fragmentation seems inevitable.

Also, memory freed by python apparently is not returned to the OS
according to this article:
http://effbot.org/pyfaq/why-doesnt-python-release-the-memory-when-i-delete-a-large-object.htm

Are there any good general countermeasures to make an application use
less memory? Any good overview articles on this subject?

Thanks (and Happy Thanksgiving),
- Ken Seehart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,134
Latest member
Lou6777736
Top