Re: [xml] =?iso-8859-1?q?=BFleak_using_libxml2_for_sax-parsing=09html?= =?iso-8859-1?q?_in_python=3F?=
- From: John Dennis <jdennis redhat com>
- To: Cesar Ortiz <cesar ortiz gmail com>
- Cc: xml gnome org, veillard redhat com
- Subject: Re: [xml] ¿leak using libxml2 for sax-parsing html in python?
- Date: Fri, 05 Jan 2007 12:54:57 -0500
On Fri, 2007-01-05 at 17:21 +0100, Cesar Ortiz wrote:
Hi,
Maybe the top is fooling me, but after 10 minutes of execution (the
example I attached with an infinite loop) it took half of the machine
memory (2 Gbs of a 4Gbs Linux Box), and later the process crashed due
to a 'Memory Error'.
I am pretty sure libxml2 does not leak, but may be there is something
wrong with the python bindings, or may be I am forgetting something.
Are you calling freeDoc, freeNode, xpathFreeContext, etc. or are you
blindly assuming the python bindings are doing this for you?
--
John Dennis <jdennis redhat com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]