Skip to main content

How to generate a heap dump?

Comments

1 comment

  • Kirill Gostaf

    One may face a permission denied error:

    bash-4.4$ jcmd 6 GC.heap_dump filename=/tmp/jul21.log
    6:
    Permission denied
    bash-4.4$
    bash-4.4$
    bash-4.4$ jcmd 6 GC.heap_dump /tmp/jul21.log
    6:
    Heap dump file created
    bash-4.4$
    0

Please sign in to leave a comment.

About CloudBees Support

Our Support Engineers are available to help with any questions or problems you may have with any of our products.