Support | Zephyr



How to capture a memory dump

Created on

Problem

Server memory is acting unusual or support has requested a memory dump.

Cause

A memory dump can help troubleshoot certain specific issues happening in a service such as Zephyr and are sometimes required for troubleshooting issues.

Fix

Caution: Memory dumps take the amount of memory in use and write a file of the same size. If you have 2 gigs of memory in use, the memory dump will be a 2 gig file. Before proceeding, verify you have enough disk space available at your write destination for the dump.

 

UNIX/Linux/Mac:

                jmap -dump:file=dump.txt -J-d64 $PID  

                Note:

                (if jmap is not in path, use fully qualified path $JAVA_HOME/bin/jmap)

                (remove -J-d64 flag, if 32 bit java in use)

Windows:

                psexec -s "%JAVA_HOME%\bin\jmap" -dump:file=dump.txt %PID%

                Note:

                (download pstools from sysInternals, if not already downloaded)

 

$PID : process Id of Zephyr Server

If requested by support, please email the dump file or upload it to our FTP for review.

 

 

Knowledge Document Information

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Title:                      How to capture a memory dump

Product:                 Enterprise Edition, Community Edition

Version:                 All

Summary:              Support may request memory dumps, this is how they are performed                                        and at what times.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Powered by Zendesk