Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Memory Analyzer (MAT) » Getting heap dump using JDK 1.5(Getting heap dump using JDK 1.5)
Getting heap dump using JDK 1.5 [message #479351] Mon, 10 August 2009 14:14 Go to next message
Arya_01  is currently offline Arya_01
Messages: 1
Registered: August 2009
Junior Member
Can anybody tell me, how can I get the heap dump (.hprof) file to get in windows with JDK1.5 ? I have setup Mat in my eclipse and JDK1.5 is the environment, but trying to create heap dump file when my application is running?

Thanks
Re: Getting heap dump using JDK 1.5 [message #499223 is a reply to message #479351] Fri, 20 November 2009 08:31 Go to previous message
Krum Tsvetkov is currently offline Krum Tsvetkov
Messages: 149
Registered: July 2009
Senior Member
Hi,

Since update 15, the jdk 1.5 also accepts the option to dump the heap when the user presses ctrl + break on windows.

The option you need to set in the VM parameters is:
-XX:+HeapDumpOnCtrlBreak

We should add this info to our wiki description how to get dumps.

Regards,
Krum
Previous Topic:Any plans to support C++?
Next Topic:New resolvers URL, Point, Rectangle
Goto Forum:
  


Current Time: Thu Aug 28 01:27:06 EDT 2014

Powered by FUDForum. Page generated in 0.02524 seconds