[lxml-dev] Cleaner instances don't get garbage collected

Stefan Behnel stefan_ml at behnel.de
Sun Jan 25 21:10:39 CET 2009


Hi,

Alejandro Valdez wrote:
> Hello list, I'm new to lxml and I'm really stuck with this problem:
> After starting my program and running it for a while it stop with a
> MemoryError exception. While the program is running I can see that
> python uses more and more memory until it run out of memory.
> [...]
> I'm using Python 2.5.2 and lxml 2.2-beta1, any ideas?

2.2 beta1 has a known memory leak that is related to exceptions. It was
fixed in 2.1.5, could you test with that? I was about to release a second
beta today, so that might already fix it.

Stefan



More information about the lxml-dev mailing list