Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumserror in instructions: no way to get HPROF from Sun JVM 1.5
https://www.eclipse.org/forums/index.php/mv/msg/2494/7209/#msg_7209
The instructions say to use the JVM parameter "-XX:+HeapDumpOnCtrlBreak"
I tried that with the Sun JVM whose version is immediately below:
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
And got this fatal error:
Unrecognized VM option '+HeapDumpOnCtrlBreak'
Is there any other way to do it?
-Paul]]>Paul E. Keyser2008-11-20T00:27:30-00:00Re: error in instructions: no way to get HPROF from Sun JVM 1.5
https://www.eclipse.org/forums/index.php/mv/msg/2494/7551/#msg_7551
getting a heap dump really depends on VM version and OS platform. If you
running a 1.5er Sun VM on Windows, the only reliable way to get a heap
dump is using the HeapDumpOnOutOfMemoryError flag. The HeapDumpOnCtrlBreak
flag works only with the 1.4er VMs.
I usually do it this way: run the 1.6er VM, connect via JConsole and hall
dumpHeap from the HotSpotDiagnostics MBean.
Andreas.]]>Andreas Buchen2008-11-20T11:54:17-00:00Re: error in instructions: no way to get HPROF from Sun JVM 1.5
https://www.eclipse.org/forums/index.php/mv/msg/2494/7797/#msg_7797
HeapDumpOnCtrlBreak works on Sun 1.5 VM as well, but only starting from
1.5 update 14.
There's still a bug in the Sun VM implementation caused by erroneously
parsed source control comments. It's possible to work around that
easily, however.
-tt]]>Taras Tielkes2008-11-25T17:35:39-00:00Re: error in instructions: no way to get HPROF from Sun JVM 1.5
https://www.eclipse.org/forums/index.php/mv/msg/2494/7817/#msg_7817
HotSpot VM which supported the option all the time. I'll update the WIKI
accordingly. Thanks! Andreas.]]>Andreas Buchen2008-11-25T22:02:10-00:00