# How to Capture Heap Dump?

In 360° artifacts that yc-360 script captures, heap dump is the only intrusive artifact. It takes several seconds to a few minutes (depending on your heap size) to capture, till then your JVM will stop processing customer transactions. Since it hurts your application performance, yc-360 script doesn't capture heap dump by default. You need to pass an additional -hd argument to capture the heap dump.

# Example:

./yc -onlyCapture -p {PID} -hd
1