The following issue has been updated:

    Updater: Simon Kitching (mailto:[EMAIL PROTECTED])
       Date: Mon, 26 Jul 2004 2:10 AM
    Comment:
very simple schema file for validation
    Changes:
             Attachment changed to simple.xsd
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XERCESC-1245?page=history

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

    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: Mon, 26 Jul 2004 2:10 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to