QUESTION:
How do I generate a Heap Memory dump for a particular Traverse component?
SOLUTION:
These steps assume that the component is listed as running within the Traverse Service Controller (or ./etc/traverse.init status for Linux).
On a Linux server:
- First install a JDK on the Traverse Linux server, if not already installed:
sudo yum install java-1.6.0-openjdk-devel
sudo jmap -dump:format=b,file=/tmp/jvm.hprof 9999
Dumping heap to /tmp/jvm.hprof ... Heap dump file created
On a Windows server: