This section describes how to use JVMMON to trigger a heap dump.
For ease of use in viewing an SAP Note, right click on the Note link and select Open in new window or Open in new tab.
From the command line, navigate to /usr/sap/<SID>/SYS/exe/jvm/<OS>/sapjvm_6.1*/sapjvm_6 and run jvmmon.
Enter the Pid of your server node.
Enter 'dump heap' at the $ prompt.
Verifiy heap dump is located on the file system
Navigate to /usr/sap/<SID>/<Instance>/j2ee/cluster/<server> and find the heap dump file.
SAP Note 1004255 -'How to create a full HPROF heap dump of J2EE Engine 6.40/7.0'