Glassfish exception

I encounter a very annoying exception in glassfish, which

SEVERE: Exception in thread "RMI RenewClean-[192.168.1.2:8686]" 
SEVERE: PermGen space
java.lang.OutOfMemoryError: PermGen space

my hardware resources r are high, and when I open the task manager and notice the resources, it is available, this exception forces me to restart my computer every 10-15 minutes: (what should I do?

+3
source share
2 answers

You need to increase the volume of PermGen using the flag -XX:MaxPermSize=256m. See this related SO question

To install this in Glassfish, use the following steps :

  • Connect to the admin interface of your Glassfish server (localhost: 4848)
  • > JVM > JVM , Glassfish ( - -Xmx512m ) JVM :

-XX:MaxPermSize=256m

. , , PermGen .

+3

.

permgem - , , . Apache JMeter, ( , ).

, , , amccormack.

-XX: PermSize = 512m

-XX: MaxPermSize = 512m

-XX: + CMSClassUnloadingEnabled

, permgem, ( asadmin stop-domain). , java-, start- asadmin. , , .

+2

All Articles