Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20410

Possible memory leak in JarAccess

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.3.0.CR1
    • 4.3.0.Beta2
    • common
    • None
    • Hide

      To reproduce, you can try importing/deleting some projects (I tried jaxrs projects from javaee7 samples https://github.com/javaee-samples/javaee7-samples/tree/master/jaxrs)

      1. import jaxrs projects
      2. delete them
      3. repeat 1-2 how many times you want and see 'slaves' set just growing.

      Show
      To reproduce, you can try importing/deleting some projects (I tried jaxrs projects from javaee7 samples https://github.com/javaee-samples/javaee7-samples/tree/master/jaxrs ) 1. import jaxrs projects 2. delete them 3. repeat 1-2 how many times you want and see 'slaves' set just growing.

      I think I see memory leak in org.jboss.tools.common.model.filesystems.impl.JarAccess
      line 309 Set<JarSystemImpl> slaves = new HashSet<JarSystemImpl>();
      these 'slaves' are just growing.

            scabanovich Viacheslav Kabanovich (Inactive)
            rawagner@redhat.com Rastislav Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: