This discussion is archived
1 Reply Latest reply: Apr 20, 2011 1:02 PM by PHCharbonneau RSS

OutOfMemory WLS 10.3.2 - JRockit -  No dump generated

user10656774 Newbie
Currently Being Moderated
Hi,

i'm tracking a memory issue under WLS 10.3.2 (Windows) from a simple web application.
I had following parameter to the java command line (using jrockit) but i'm not able to get a memory dump when the OOM exception occurs.
-XXdumpFullState
-XXexitOnOutOfMemory
More, the jvm is not stoped when the OOM exception occurs.

Any idea ?
Thx a lot
EC.
  • 1. Re: OutOfMemory WLS 10.3.2 - JRockit -  No dump generated
    PHCharbonneau Explorer
    Currently Being Moderated
    Hi EC,

    Can you please tell me which version of JRockit you are using?

    Since version R28.0.0 JRockit VM has the ability to generate a Heap Dump following an OOM condition.

    Just add the -XX:+HeapDumpOnOutOfMemoryError or -XX:+HeapDumpOnCtrlBreak in your start-up JVM arguments to generate Java heap dumps in HPROF binary format on OutOfMemory errors or in demand in windows via CTRL+break.

    Regards,
    P-H
    http://javaeesupportpatterns.blogspot.com/

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points