Hi,

I have a simple application that uses the SAX2 parser to parse a large
XML file with schema validation. During the parsing I can see the
application steadily using more memory. If I turn off the validation
(fgSAX2CoreValidation = false) the application uses a fixed amount of
memory regardless of the file size.

Is this to be expected?

It is only with really huge files (say 1Gb) that this becomes a big a
problem and I believe the memory is released after the parsing so it is
not major issue for me, but I was not expecting that kind of behavior.
I have seen this using AIX+Xerces2.6.0, AIX+Xerces2.5.0 and
Windows+2.5.0. I have also tried the latest from CVS (on AIX).
I have also tried reducing the schema file to almost nothing.


Thanks for any help in advance.

Henrik Hermansson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to