I am quiet new here. forgive if my questions are dump.
We are having a problem on JBoss(Version: 5.0.0.CR2) server running with Jrockit(Version :build R27.6.5-32_o-121899-1.6.0_14-20091001-2107-windows-ia32)
The server hang frequently.
was trying to optimize the JVM settings.
Initial JVM setting was : set JAVA_OPTS=%JAVA_OPTS% -Xms768m -Xmx1024m -XX:MaxPermSize=256m
Later have chaged to set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -Xns512m -XXkeepAreaRatio=3 -XXsetGC:genparcon -XXcompactSetLimit:10200 -Xverbose:gc -Xverboselog:jbossVerboseLog.txt
But getting some page fault errors as shown below,
+[INFO ][memory ] Warning: Your computer has generated 31142 page faults during the last garbage collection.+
+[INFO ][memory ] If you find this swapping problematic, please consider running JRockit with a smaller heap.+
After few hours it started Throwing OutOfMemory: allocLargeObjectOrArray
So I included the XXtlaSize in jvm settings, set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -Xns512m -XXlargeObjectLimit=70k -XXtlaSize=70k -XXminBlockSize=96k -XXkeepAreaRatio=3 -XXsetGC:genparcon -XXcompactSetLimit:10200 -Xverbose:gc -Xverboselog:jbossVerboseLog.txt
But server become very unstable, server restarted automatically.
Now we revert all the changes to initial settings.
Please suggest me in case if i need to look into something else.
Thanks in advance.