2

I am repeatedly deploying and undeploying the same Spring based application on my server. This is an Oracle Event Processing application and the container uses Spring heavily.

From jprofiler I see multiple instances of org.springframework.osgi.context.internal.classloader.ChainedClassL oader loading classes like com.sun.proxy.$Proxy6179.

It seems these classes are never unloaded with successive deployments. From the object reference graph I see that classes like StaticServiceProxyCreator OsgiServiceCollectionProxyFactory hold references to these proxy objects.

How can I get rid of this error on JDK 7? Increasing Permgen space is not the solution, as it only delays the error.

Thanks, Yogesh

Pino
  • 7,468
  • 6
  • 50
  • 69
Yogesh Bedekar
  • 129
  • 1
  • 1
  • 3
  • AFAIK, this is a known problem of Tomcat in an Oracle JVM, with no workaround (unless using another container or another JVM). References : http://stackoverflow.com/questions/10392255/permgen-space-error-in-tomcat – Serge Ballesta Oct 14 '14 at 09:01

0 Answers0