Need to be able to shut down the WeakCollectionCleaner
------------------------------------------------------

                 Key: GEOT-2742
                 URL: http://jira.codehaus.org/browse/GEOT-2742
             Project: GeoTools
          Issue Type: Bug
          Components: core metadata
    Affects Versions: 2.6-M2, 2.6-M1, 2.6-M0, 2.5.7, 2.5.6, 2.5.5
         Environment: ubuntu linux 9.04, java/6u16
            Reporter: Robert Olofsson


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.


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

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to