Uploaded image for project: 'JBoss VFS'
  1. JBoss VFS
  2. JBVFS-1

Leak due to VirtualFileURLConnection.class.urlCache()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta21
    • None
    • None
    • None

      > 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.

            marko.strukelj@gmail.com Marko Strukelj
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: