Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-9006

Meta space memory leak caused by the shutdown hook of ProcessManager

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.19.0
    • java-fn-execution
    • None

    Description

      Currently the class `ProcessManager` will add a shutdown hook to stop all the living processes before JVM exits. The shutdown hook will never be removed. If this class is loaded by the user class loader, it will cause the user class loader could not be garbage collected which causes meta space memory leak eventually.

      Attachments

        Issue Links

          Activity

            People

              sunjincheng121 sunjincheng
              sunjincheng121 sunjincheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h