Databases Reference
In-Depth Information
The heap dump will be analyzed with the Eclipse Memory Analyzer (MAT), so download and
install it from
http://www.eclipse.com/mat
.
How to do it...
1. Log in to the shell and use the JRCMD tool.
2. Find the
<PID>
value of the
PROD_Server01
Managed Server process:
[wls@prod01]$ ps aux | grep PROD_Server01 | grep -v grep | awk
'{print $2} '
<PID>
3. Issue a
jrcmd
command using
<PID>
as an argument:
[wls@prod01]$ /oracle/jvm/bin/jrcmd <PID> hprofdump
<PID>:
Wrote dump to heapdump_<date>.hprof
Analyze the heap dump with MAT.
1. Open MAT by executing the file
MemoryAnalyzer.exe
.
Search WWH ::
Custom Search