Forum Stats

  • 3,855,690 Users
  • 2,264,543 Discussions
  • 7,906,138 Comments

Discussions

Proxy classes(e.g com.sun.proxy.$Proxy6179) leading to PermGen OutOfMemory error?

1050008
1050008 Member Posts: 2

Hi,

We are repeatedly deploying and undeploying the same Oracle Event Processing application using a script.

This is leading to an OutOfMemory error in the PermGen space. PermGen is set to 128MB.

We see multiple instances of org/springframework/osgi/context/internal/classloader/ChainedClassLoader loading more and more com.sun.proxy.$Proxyxxx classes.

Once the application is undeployed, these classes don't get unloaded. I think this leads to the OOM error.

How can we identify the root cause of this problem?

Why does the JVM hold on to these classes even after our application is undeployed?

We are using Spring 3 and JDK 7.

When we use JDK 8, the OOM error is delayed but it still occurs.

Thanks in advance for any help as this is an urgent issue.

Thanks,

Yogesh

Answers

This discussion has been closed.