items whose parent field referred to
the WebappClassLoader.
Traverse Collections and Maps in the two java.lang.ThreadLocal table
fields, clearing all deep references to the WebappClassLoader.
After that, my classes were unloaded after undeploy.
Arjen
--
View this message in context:
http://old.nab
On 26/07/2010 09:16, Arjen Knibbe wrote:
>
> After being plaged by PermGen space OutOfMemoryErrors I came across an
> http://java.dzone.com/articles/memory-leak-protection-tomcat interview with
> Mark Thomas announcing the solution for these kinds of memory leaks. I
> upgraded Tomcat 6.0.26 on S
{
map.put(key, null);
System.out.println(info + ": removed value referring
ClassLoader from Map");
}
catch (NullPointerException n)
{
goners.add
On 29.07.2010 17:00, Arjen Knibbe wrote:
I searched for an "upgrading to Tomcat 7" manual in the Tomcat documentation
to check if the new JreMemoryLeakPreventionListener is mentioned, but I
could not find any guidelines for upgrading...
There is some info about major version differences at
htt
ner);
>}
>return false;
>}
>
>while (iterator.hasNext())
>{
>if (clearRecursive(info, iterator.next()))
>{
>iterator.remove();
>}
>}
>
> return false;
>