embedding Python: how to avoid memory leaks?
"Martin v. Löwis"
martin at v.loewis.de
Fri Mar 10 02:48:48 EST 2006
Andrew Trevorrow wrote:
> Surely that's a bug that should be fixed. There should be some way
> to tell Python "release all the memory you've ever allocated and
> start again with a clean slate".
This bug cannot be fixed in any foreseeable future.
> I've been told that the next version of Python will release memory,
> so that's good news. You can get it now if you're willing to build
> Python from the latest source code.
That still won't release all memory - only the arenas that don't
have live Python objects on them anymore.
Regards,
Martin
More information about the Python-list
mailing list