[ 
https://issues.apache.org/jira/browse/XERCESJ-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415921#comment-13415921
 ] 

Mukul Gandhi commented on XERCESJ-1573:
---------------------------------------

@ Michael : thanks for the analysis. When I move the following calls,

Validator validator = schema.newValidator();
validator.setErrorHandler(this);

before the for loop, I can see the same leaks as reported by Jorge earlier (i.e 
the instances of PSVIElementNSImpl are getting accumulated in 
XMLAssertPsychopathXPath2Impl).

We'll try, if we can improve memory usage within XMLAssertPsychopathXPath2Impl. 
  
                
> 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, 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]

Reply via email to