Products | Versions |
---|---|
TIBCO BusinessWorks ProcessMonitor | - |
Not Applicable | - |
Description:
When you get Out Of Memory errors in the TIBCO BusinessWorks ProcessMonitor(BWPM) server's log file, and in order to troubleshoot this issue, we have to collect Java dumps. The tools/utility available from Java (SDK not JRE) to collect heap dumps is jmap and jstack.
jmap.exe -dump:format=b,file=c:\temp\HeapDump.hprof <pid>
pid is the ID of the Java process. The JDK offers another tool called jps to list the IDs of all running Java processes. Executing jps.exe on the command line should print out something like this:The Java process called Bootstrap is the running Tomcat server.
Syntax:
Web References:
2). jmap: http://eclipsesource.com/blogs/2013/01/31/creating-tomcat-heap-dumps-on-windows/ .
3). jstack http://support.jamasoftware.com/entries/20535318-Performing-a-thread-dump-in-Linux-or-Windows .