[xml] How to parse a file too large
- From: Fábio Bertinatto <bertinatto neteye com br>
- To: xml gnome org
- Subject: [xml] How to parse a file too large
- Date: Mon, 5 Apr 2010 11:30:08 -0300
Hello friends!
I'm using the libxml2 library to parse a 15000 lines file.
After
parse the entire file I have freed the memory and used the
malloc_trim(0) function to return the memory to the kernel (as
described in the xmlsoft website).
The problem is that every time I parse the file the process increases 200kB of memory and I need parse the file several times.
Anyone else got this problem previously?
--
Fábio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]