Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-14340

HEAPDUMP_ON_OOM should not be default to true

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0
    • Component/s: None
    • Labels:
      None
    • Rank:
      1|i00hrb:

      Description

      We have introduced an option to enable heap dump on oom recently, and it is by default true. This will generate a hprof file if there is a OOM happens. But when I test the OOM issue, it will generate a file which is larger than 2.2G, which will take up a lot of space and user will not be aware of it. We also currently do not have a way to clean up this file. The option should by default be false. 

        Attachments

          Activity

            People

            • Assignee:
              yaojie Yaojie Feng
              Reporter:
              yaojie Yaojie Feng
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: