You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kaushal Shriyan <ka...@gmail.com> on 2010/06/03 15:12:31 UTC

Unrecognized VM option '+HeapDumpOnCtrlBreak'

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

RE: Unrecognized VM option '+HeapDumpOnCtrlBreak'

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Kaushal Shriyan [mailto:kaushalshriyan@gmail.com]
> Subject: Re: Unrecognized VM option '+HeapDumpOnCtrlBreak'
> 
> Please let me know the jmap option to take a heap dump

Please do a little work on your own.
http://www.lmgtfy.com/?q=jmap+heap+dump

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Unrecognized VM option '+HeapDumpOnCtrlBreak'

Posted by Kaushal Shriyan <ka...@gmail.com>.
On Thu, Jun 3, 2010 at 6:55 PM, Bill Au <bi...@gmail.com> wrote:

> That option is not available in Java 6.  With Java 6, you can use jmap to
> take a heap dump.
>
> Bill
>
>
Hi Bill

Please let me know the jmap option to take a heap dump

Thanks,

Kaushal

Re: Unrecognized VM option '+HeapDumpOnCtrlBreak'

Posted by Bill Au <bi...@gmail.com>.
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 <ka...@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
>