PermGen space java.lang.OutOfMemoryError: PermGen space

3
We recently extended our application with a java library which is rather large. We tested it on TEST and Acceptance environments and all worked fine. When using it on our production environment we encounter the following error in the m2ee log (and a non responsive environment that required a restart): [ERROR] [1/20/14 3:36 PM] [akka:event-driven:dispatcher:request-dispatching-67] [LocalActorRef] PermGen space java.lang.OutOfMemoryError: PermGen space How to prevent issues like this from occurring? I assume that the resolution to this issue is increasing the permgen size (additional jvm start parameter?)? Thanks. Brian
asked
1 answers
4

You'll want to increase the MaxPermSize:

-XX:MaxPermSize=128M

We advise at least 128 for mx4+

answered