-
1. Re: 64-bit JVM on 2.6.4
prabhat.jha Feb 14, 2008 2:35 PM (in response to kahotep)I do bunch of portal perf and scalability test on 64bit machine with 64-bit sun jvm and I have not have any problem. But that's not your answer, is it? :-)
You need to increase perm gen size. In your JVM options.
change your run.conf as:JAVA_OPTS="-Xms512m -Xmx512m -XX:NewRatio=10 -XX:PermSize=64M -XX:MaxPermSize =128M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=36 00000"
-
2. Resolved: 64-bit JVM on 2.6.4
kahotep Feb 14, 2008 3:16 PM (in response to kahotep)Thank you so much for your help. This has stopped all of the fatal errors!
I have 8gb of ram to work with, so I may end up bumping up those values a bit more.
I have 2x 4-core Intel Xeons on the machine, so I will have to see how the JVM runs on multiple processors, for the optimal configuration.
I'll post the results of my experimentations here...
Thanks again! -
3. Re: 64-bit JVM on 2.6.4
prabhat.jha Feb 14, 2008 4:16 PM (in response to kahotep)Those values will not need to be increased as you increase the heap size. Permgen is used for loading all the classes. Once an app has been running, this space does not grow.
-
4. Re: 64-bit JVM on 2.6.4
kahotep Feb 14, 2008 4:54 PM (in response to kahotep)These values worked quite well in my initial tests.
JAVA_OPTS="-Xms4096m -Xmx6114m -XX:NewRatio=10 -XX:PermSize=64M -XX:MaxPermSize=128M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
Thanks again for sharing your advice.