Heap dump is not generated for bundled Elasticsearch when using default settings

XMLWordPrintable

    • 2
    • Severity 3 - Minor
    • 1

      Issue Summary

      In case an OutOfMemory condition happens for the bundled Elasticsearch, the default settings in the jvm.options cause the heap dump not to be generated.

      This happens because of the following setting in the file:

      -XX:HeapDumpPath=data
      

      Steps to Reproduce

      An OutOfMemory condition needs to occur to reproduce this problem.

      Expected Results

      A heap dump is generated.

      Actual Results

      No heap dump is generated.

      Workaround

      The property can be set in the jvm.options file but it would be ideal if this setting was commented out. This would generate the heap dump in the default location.

            Assignee:
            Unassigned
            Reporter:
            Caterina Curti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: