I am building new WebLogic Servers for ADF running on "jrockit-jdk1.6.0_45-R28.2.7-4.1.0". We have an issue that we're working on where we get OutOfMemory errors. Regardless,
Based on this document: -XX Command-line Options , there is a parameter to tell jrockit jvm to shutdown when there is an OutOfMemory error ("-XXexitOnOutOfMemory"). This parameter would be perfect, as instead of leaving WebLogic in a hanging state, it would shutdown and node manager will just boot it back up.
However, when i add the parameter to my startup WebLogic parameters ("-XXexitOnOutOfMemory"), JRockit says this argument is an invalid argument.
How can i implement this?
I'm found this issue rather amusing because there's conflicting oracle documentation on this - however the correct documentation helped
JRockit R28 documentation: http://docs.oracle.com/cd/E15289_01/doc.40/e15062/optionxx.htm#BABCDAIB
Per the documentation it says to put "-XX:+ExitOnOutOfMemoryError". Implementing it into my scripts worked like a charm.