[jbosstools-issues] [JBoss JIRA] (JBIDE-11539) Memory leak in org.jboss.tools.jst.web.kb

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Apr 24 12:26:18 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12687266#comment-12687266 ] 

Viacheslav Kabanovich commented on JBIDE-11539:
-----------------------------------------------

But these 2000 xml files may be relevant! 
You wrote that in values in the map are instances of org.jboss.tools.jst.web.kb.internal.XmlContextImpl, objects of this class are created for xml files; while for xhtml files, it is org.jboss.tools.jst.web.kb.internal.FaceletPageContextImpl
If your xml files are located under a Java source folder, or Web content folder, they are certainly processed by KB builder, which assumes that any xml may contain expression language to be validated.
                
> Memory leak in org.jboss.tools.jst.web.kb
> -----------------------------------------
>
>                 Key: JBIDE-11539
>                 URL: https://issues.jboss.org/browse/JBIDE-11539
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common/jst/core
>    Affects Versions: 3.3.0.Beta2
>         Environment: Windows XP
> Eclipse 3.7
> JBoss Tools(over marketplace, last update 4/11/2012
>            Reporter: Sigi Kiermayer
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.3.0.Beta3
>
>
> I have huge memory problems and two days ago i made a heap dump and got following information:
> The classloader/component "org.jboss.tools.jst.web.kb" occupies 485,306,072 (76.24%) bytes. The memory is accumulated in one instance of "java.util.HashMap$Entry[]" loaded by "<system class loader>".
> Keywords
> java.util.HashMap$Entry[]
> org.jboss.tools.jst.web.kb
> It is full of HashMapentries:
> key: org.eclipse.core.internal.resources.File
> value: org.jboss.tools.jst.web.kb.internal.XmlContextImpl
> I have the memory dump here. i can provide it if you think it is a reproducible bug or you have an idea how that can happen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list