Skip to main content

Generating Heap Dumps for OutOfMemoryError Analysis.


AkshayJadhav
StreamSets Employee
Forum|alt.badge.img

If you encounter java.lang.OutOfMemoryError or suspect a memory leak, providing a heap dump in your Support Ticket will expedite the troubleshooting process.

This is how heap dump java parameter looks like:

 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/Users/akshayjadhav/Desktop/streamsetsdatacollector4.2.1/log/sdc_heapdump_1652948584.hprof

The command for generating a heap dump is as follows:

jmap -dump:format=b,file=<filename>.bin <pid>

If your heap dump is too large to attach to the ticket (> 20Mb), StreamSets will provide information on uploading it to a secure FTP site.

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply