tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Au <bill.w...@gmail.com>
Subject Re: Unrecognized VM option '+HeapDumpOnCtrlBreak'
Date Thu, 03 Jun 2010 13:25:02 GMT
That option is not available in Java 6.  With Java 6, you can use jmap to
take a heap dump.

Bill

On Thu, Jun 3, 2010 at 9:12 AM, Kaushal Shriyan <kaushalshriyan@gmail.com>wrote:

> Hi,
>
> I am running tomcat 5.5.27 on ubuntu 8.04, java version is
>
> java -version
> java version "1.6.0_06"
> Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
>
> I did added JAVA_OPTS="-Xms512m -Xmx4500m -XX:+HeapDumpOnCtrlBreak
> -XX:+HeapDumpOnOutOfMemoryError"  on tomcat init script
>
> Unrecognized VM option '+HeapDumpOnCtrlBreak'
> Could not create the Java virtual machine.
> done.
>
>
> Please suggest
>
> Thanks,
>
> Kaushal
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message