You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by xe...@xml.apache.org on 2004/07/27 14:56:17 UTC
[jira] Closed: (XERCESC-1245) Memory Leak on Schema Validation Failure
Message:
The following issue has been closed.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/XERCESC-1245
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XERCESC-1245
Summary: Memory Leak on Schema Validation Failure
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Xerces-C++
Components:
Validating Parser (Schema) (Xerces 1.5 or up only)
Versions:
Nightly build (please specify the date)
Assignee:
Reporter: Simon Kitching
Created: Mon, 26 Jul 2004 2:07 AM
Updated: Tue, 27 Jul 2004 5:56 AM
Environment: Linux (Debian Sarge), i686, uniprocessor
Description:
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/VmData fields are 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/VmData fields creeps steadily upward as repeated parse-fail cycles occur.
I will attach a test harness that demonstrates this problem.
This problem occurs on both the 2.5.0 release, and the nightly snapshot xml-xerces_20040725043234.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org