Uploaded image for project: 'GeoTools'
  1. GeoTools
  2. GEOT-2742

Need to be able to shut down the WeakCollectionCleaner

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.5.5, 2.5.6, 2.5.7, 2.6-M0, 2.6-M1, 2.6-M2
    • Fix Version/s: 2.6.2
    • Component/s: metadata
    • Labels:
      None

      Description

      We have a web start application (and/or applet) that uses geotools and when we log out of our application we want to free up memory.
      Since our application is quite big as it is we have our own class loader, one per login session. This classloader will load geotools on demand (and similar for our other classes).
      When we log out we drop our references to this class loader, but this class loader (and its classes) can not be dropped fully since the WeakCollectionCleaner is still running.

      How do we shut this org.geotools.util.WeakCollectionCleaner down?

      When I look at the source I also find a copy of this class called org.geotools.data.directory.ReferenceCleaner, but I do not think our code ever touches that one.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              harrison.grundy codehaus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: