leonarduk.com

Breadcrumbs

Home Knowledge bank Technical Skills Java java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space PDF Print E-mail
Written by Steve Leonard   
Thursday, 18 November 2010 14:57

this exception means you have an application which has created too many classes.  You need to set this JVM parameter:

XX:MaxPermSize=148m (the default is 64m which can be too small)