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"
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...
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.
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.