Products | Versions |
---|---|
TIBCO Data Virtualization | All supported versions |
Option I: Using the Java 'jmap' utility
1. Find the PID of the TDV Sever. Open Task Manager > Details tab > Find 'java.exe'
To verify it is the right 'java.exe' > right-click and select Properties. It will show the path to [TDV_Server_dir]\jdk\bin.
2.Open Command Prompt. Run the 'jmap' utility shipped with TDV (in the [TDV_Install_Dir]/jdk/bin folder) to get a heap dump for the PID, as shown in the example below.
jmap -dump:live,format=b,file=\tmp\heap_dump_live.hprof <pid>
==> Heap dump files created
Note:
<pid> is the PID found in step1.
file is a path to a directory on the same machine
Screenshot for reference-
Option II: Using TDV "Composite_dumpHeap" utility:
1. From Command Prompt, navigate to <TDV_install_dir>/bin.
2. Enter the composite_dumpHeap syntax:
usage: composite_dumpheap.bat filepath
Dump CIS heap memory to the specified file. If this file exists it will be regenerated.
Example:
C:\Program Files\TIBCO\TDV Server 8.7.0-9400\bin>composite_dumpHeap.bat HeapDump.hprof
16:29:47.792 [main] ERROR logging.monitor.stdout - Monitor - [dumpheap, HeapDump.hprof]
16:29:47.795 [main] ERROR logging.monitor.stdout -
16:29:50.145 [main] INFO com.compositesw.monitor.Monitor - Generated heap dump to file: C:\Program Files\TIBCO\TDV Server 8.7.0-9400\bin\HeapDump.hprof
Screenshot for reference: