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?
You need to increase the volume of PermGen using the flag -XX:MaxPermSize=256m. See this related SO question
-XX:MaxPermSize=256m
To install this in Glassfish, use the following steps :
. , , PermGen .
.
permgem - , , . Apache JMeter, ( , ).
, , , amccormack.
-XX: PermSize = 512m-XX: MaxPermSize = 512m-XX: + CMSClassUnloadingEnabled
-XX: PermSize = 512m
-XX: MaxPermSize = 512m
-XX: + CMSClassUnloadingEnabled
, permgem, ( asadmin stop-domain). , java-, start- asadmin. , , .