In order to analyze an out of memory error, first, you should need a heap dump of your JVM process.
Execute one of the below command to find the process id of WSO2 Instance
ps -aux |grep 'bootstrap'
jps
jstack <PID> >> thread_dump.log
jmap -dump:file=heap_dump.bin <PID>
Once you have a memory dump, can analyze it using Eclipse Memory Analyzer tool.
Comments
Post a Comment