Hi, I've been dealing with permgen space outofmemory errors in my application, and managed to trace it to many classes with names like sun.reflect.GeneratedSerializationConstructorAccessor being created and not unloaded from my permgen space.
These classes have in turn been loaded from hundreds of DelegatingClassLoader instances which arent also collected. Searching for references to these classloaders I found that salve's default Transformer keeps a reference to each classloader in its seenLoaders field.
Is this a possible leak for permgen memory space ?
p.s. I've changed the seenLoaders to keep classloaders hashcode() instead of the actual reference and the problem seems to have gone away
Iman