Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-10257

Add documentation about heap dump jvm options

Details

    • New Article
    • Status: Blocked
    • Minor
    • Resolution: Unresolved
    • DXP Cloud 4.x
    • DXP Cloud
    • None

    Description

      This article (https://learn.liferay.com/dxp-cloud/latest/en/troubleshooting/creating-thread-and-heap-dumps.html) explains how to make and download heap dumps using a script, but a section should also be added about how to generate heap dumps using jvm options. 

      -XX:+HeapDumpOnOutOfMemoryError
      

      Can be added to the liferay jvm options to enable automatically taking a heap dump on OoM and

      -XX:HeapDumpPath=/opt/liferay/data/heap_dumps
      

      Can be added to place the heap dump into the data folder so it can be retrieved with a backup. Further documentation about these jvm settings can be found here: https://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-VM/html/clopts.html

      Attachments

        Activity

          People

            misael.neto Misael Neto
            matthew.tambara Matthew Tambara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package
                DXP Cloud 4.x