> There is still a live reference to each OtherObject instance sitting in
> the static HashMap "cache".
> there is no way to ***ever*** GC this instance
Another example of a similar memory leak is the File.deleteOnExit method.
It should not be used without extreme care and understanding in a server
application, since the system has to hold onto memory related to deleting
the file until the JVM shuts down.
--- Noel
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>