Skip to main content


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 18:14 Go to next message
Arya_01  is currently offline Arya_01 Friend
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 13:31 Go to previous message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 164
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: Fri Apr 19 20:00:10 GMT 2024

Powered by FUDForum. Page generated in 0.03690 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top