weblogic - How do you implement ExitOnOutOfMemoryError parameter on JRockit R28? -


my weblogic servers use jrockit jvm r28. need have weblogic jvms configured automatically shutdown/kill/exit when outofmemoryerror occurs.

a jrockit jvm parameter called "exitonoutofmemory" let accomplish this. oracle documentation provides incorrect , conflicting information.

1.) http://docs.oracle.com/cd/e13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionxx.html says put "-xxexitonoutofmemory" startup scripts. however, jrockit doesnt "recognize" parameter.

2.) http://docs.oracle.com/cd/e15289_01/doc.40/e15062/optionxx.htm#babcdaib says put "-xx:+exitonoutofmemoryerror" startup scripts. jrockit not recognize configuration either. believe mistakenly copied hotspot documentation.

how implement parameter?

-xx:+exitonoutofmemoryerror works expected jrockit r28.2.2:

$ jrockit-jdk1.6.0_29/bin/java -xmx20m -xx:+exitonoutofmemoryerror oom java.lang.outofmemoryerror: alloclargeobjectorarray: [b, size 40976     @ jrockit/vm/allocator.alloclargeobjectorarray(jiz)ljava/lang/object;(native method)     @ jrockit/vm/allocator.allocobjectorarray(allocator.java:349)     @ jrockit/vm/allocator.allocarray(allocator.java:257)     @ oom.<init>(oom.java:3)     @ oom.main(oom.java:9)     @ jrockit/vm/rni.c2java(jjjjj)v(native method)     -- end of trace [error] exit on outofmemory requested. exiting. jrockit aborted: exit requested on oom (51) 

which version of jrockit using? did spell parameter correctly?


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -