Re: [xml] xml Digest, Vol 180, Issue 4

2019-07-11 Thread Ashjan Alsulaimani
Hi again My data are big. Im trying to do subsets form Medline database and I also have to read CDATA tags and store the ones I am interested in. my current version of the code is simply reading the xml elements and storing and thats takes 13 hours to process and its not good at all :S thanks Ashj

[xml] [PATCH] Doc: do not mislead towards "infeasible" scenario wrt. xmlBufNodeDump

2019-07-11 Thread Jan Pokorný via xml
At least when merely public API is to be leveraged, one cannot use xmlBufCreate function that would otherwise be a clear fit, and relying on some invariants wrt. how some other struct fields will get initialized along the construction/filling such parent struct and (ab)using that instead does not a

[xml] C++ SAX interface, high memory usage.

2019-07-11 Thread Eduardo N. Hering via xml
Hi. I'm using libxml2 to read a big (250MB) XML file using the SAX approach. The code works, but the memory usage is increasing at a rate of about 100 bytes per read record. The file has around 485000 zz="pp" ..> tags, so for every 1 tags read, the application increases memory usage by 1GB

[xml] [IGNORE!] C++ SAX interface, high memory usage.

2019-07-11 Thread Eduardo N. Hering via xml
Hi again. Please ignore my last message, copied below. The memory leak was in the (...) part. I'm sorry for taking your time. Best regards, Eduardo. - ORIGINAL MESSAGE - Hi. I'm using libxml2 to read a big (250MB) XML file using the SAX approach. The code wo