[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-157) Leak due to VirtualFileURLConnection.class.urlCache()

Scott M Stark (JIRA) jira-events at lists.jboss.org
Sat Mar 10 05:25:27 EST 2007


Leak due to VirtualFileURLConnection.class.urlCache()
-----------------------------------------------------

                 Key: JBMICROCONT-157
                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-157
             Project: JBoss MicroContainer
          Issue Type: Bug
          Components: VFS
    Affects Versions:  JBossMC_2_0_0 Beta3
            Reporter: Scott M Stark
         Assigned To: Scott M Stark
             Fix For: JBossMC_2_0_0_CR1


> I think I got another one.
> There is a static ref to the VFS in VirtualFileURLConnection. In the end
> the VirtualFile is kept in memory. See left bottom on the picture. If
> these are the things to look for, then I got a bundle more.
> Note that the VirtualFile is actually a reference to an EJB3 deployment,
> so it's probably EJB3 code not cleaning up properly. But this shouldn't
> lock down a ref in VFS.

There is definately a memory leak in
VirtualFileURLConnection.class.urlCache(). It grows without bounds.
After an incomplete JBossWS test run 53 megs of heap is tied to this
cache.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list