Hi, I've got a test harness that loads a schema explicitly, then repeatedly parses an XML document.
When the XML document is valid according to the schema, all is fine. I can watch /proc/{pid}/status and the VmSize field is steady. But when it is not valid (ie parse reports a validation error to the ErrorHandler, which throws an exception), a memory leak occurs. The VmSize field creeps steadily upward as repeated parse-fail cycles occur. Is there some kind of "reset" method that needs to be called after an ErrorHandler throws an exception in order for an SAX2XMLReader instance to correctly clean up before its next parse? If anyone is interested, I can post the source code that demonstrates this problem. I'm using the 2.5.0 release of Xerces-c, on Linux (debian Sarge) with g++ 3.3.4. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]