[
https://issues.apache.org/jira/browse/XERCESJ-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414599#comment-13414599
]
Jorge L. Williams commented on XERCESJ-1573:
--------------------------------------------
Mukul,
The initial set of validations are successfully occurring with < 20 MB of
memory. So if I can validate the document with 20 MB, why would validating the
document again cost more memory? It shouldn't, the number of repetitions should
not matter at all --- unless you're carrying over data from one iteration to
the next instead of freeing it -- in which case it's a leak.
After running for a long time on our app, we literally start consuming GBs of
data causing it to grind to a halt.
If this issue is not fixed, then I don't see how anyone can use Xerces in a
server environment.
Are you sure that you're reusing the XPath engine correctly between iterations?
> Possible memory leak when using assertions
> ------------------------------------------
>
> Key: XERCESJ-1573
> URL: https://issues.apache.org/jira/browse/XERCESJ-1573
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.1 Datatypes
> Affects Versions: 2.11.0
> Reporter: Jorge L. Williams
> Priority: Blocker
> Attachments: d1.png, d2.png, d3.png, d4.png, d5.png, d6.png,
> duration-sans-assert.xsd, duration.xsd, good.xml, mem.png
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]