python 3.0 memory leaking?

rupert.thurner rupert.thurner at gmail.com
Sun Feb 10 17:23:14 EST 2008


On Feb 10, 9:08 pm, Christian Heimes <li... at cheimes.de> wrote:
> rupert.thurner wrote:
> > does python-3.0 improve something to avoid writing memory leaking
> > applications?
>
> No, it doesn't. Python 3.0 and maybe 2.6 are going to have some small
> improvements but the improvements aren't related to memory leaking. I'm
> working on the matter for a while now. I've limited some free lists and
> I've a patch that gives allocated memory back to the OS earlier.
>
> Have you followed my advice and checked all places that deal with
> frames, tracebacks, exception objects and __del__ methods?
>
> Christian

many thanks christian! do you have any code examples how to handle
frames, tracebacks, exception objects and __del__ correctly?

btw, i put your hints on http://wiki.python.org/moin/FreeMemory.

rupert.



More information about the Python-list mailing list