[
https://issues.apache.org/jira/browse/XERCESJ-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418284#comment-13418284
]
Michael Glavassevich commented on XERCESJ-1573:
-----------------------------------------------
@Mukul: I agree that your change resolves the leak, and it's good that it's
fixed but we can do better than that. Recreating components each time the
validator is used isn't in the spirit of Xerces' design. We're spending cycles
creating the same objects over and over again, churning the garbage collector.
Perhaps you could resolve this JIRA issue now (since the leak is fixed), but I
think this really should be revisited.
> 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: XS11Validate.java, d1.png, d2.png, d3.png, d4.png,
> d5.png, d6.png, d7.png, d8.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]