Python not giving free memory back to the os get's me in real problems ...

"Martin v. Löwis" martin at v.loewis.de
Thu Apr 26 07:12:46 EDT 2007


> The moment I close the application that launched the macro, my
> ressources get freed.
> 
> So is there a way to free my memory inside my nested loops?

Yes. Most likely, it is your algorithm itself which is flawed
(not Python, not the application that embeds Python): You keep,
most likely, references to objects which you should release in
order to be able to reuse the memory.

Regards,
Martin



More information about the Python-list mailing list