Capture logs for memory issue
Problem
If FlexDeploy is responding very slow due to memory issues, provide following details to support team.
Solution
See details below on what is needed by support team.
​Provide exact FlexDeploy version.
Indicate application server type - Tomcat or WebLogic.
Provide all server logs including flexdeploy, gc and out files.
Provide output of following 3 commands.
ps -ef | grep java
sar
free -m
Generate heap dump - use command shown below.
jmap -dump:live,file=/var/tmp/heapdump <pid>
Provide three thread dumps at least 10 seconds apart (change # to 1, 2, 3 in command shown below)
jstack -l <pid> > /var/tmp/threaddump_#.txt
Support team will provide location where heap dump files can be uploaded.
Related articles
The following macros are not currently supported in the footer:
- style