Jay Roy
asked on
generating heap dump file in java
hi guys
I am using IBM RAD ide with websphere test environment on windows xp
I want to intentionally create a heap dump file so that i can analyze it.
Any idea what java code needs to be written so that i can get the heapdump file generated and analyze it?
any help appreciated
thanks
I am using IBM RAD ide with websphere test environment on windows xp
I want to intentionally create a heap dump file so that i can analyze it.
Any idea what java code needs to be written so that i can get the heapdump file generated and analyze it?
any help appreciated
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
found an answer myself
You can use the jmap tool to get a heapdump of a proecss
jmap -dump:format=b,file=cheap.