[
https://issues.apache.org/jira/browse/XERCESJ-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418262#comment-13418262
]
Mukul Gandhi commented on XERCESJ-1573:
---------------------------------------
@ Jorge : yes, now the assertions validator is initialized in startDocument()
call and reset in endDocument(). this makes the algorithm to optimize
assertions memory usage quite simpler. I'm not sure just now, if we should go
for a detailed reset of the assertions validator -- for now, I would like to go
with the current fix.
as per your report, with the latest fix one validation assessment having an
assertion taking 1.171421 ms to run looks good to me. I can also see memory
consumption to be quite better this time than before, for your example.
> 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]