users@glassfish.java.net

Re: Admin server error messages

From: <glassfish_at_javadesktop.org>
Date: Wed, 17 Sep 2008 10:08:28 PDT

Your messages are showing you are running out of Heap space, which by default is pretty small. You can increase it by adding the following JVM options and restarting the instance:

-XX:MaxPermSize=256m
-XX:NewRatio=2

You could also benefit by tuning your JVM settings. Here's some helpful references:

http://java.sun.com/performance/reference/whitepapers/tuning.html
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html

Another tool to monitor your JVM is VisualVM:

https://visualvm.dev.java.net/

Hope this helps.
[Message sent by forum member 'jdumbra' (jdumbra)]

http://forums.java.net/jive/thread.jspa?messageID=299878