[xml] How to parse a file too large



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]