sunjincheng created BEAM-9006: --------------------------------- Summary: Meta space memory leak caused by the shutdown hook of ProcessManager Key: BEAM-9006 URL: https://issues.apache.org/jira/browse/BEAM-9006 Project: Beam Issue Type: Bug Components: java-fn-execution Reporter: sunjincheng Assignee: sunjincheng Fix For: 2.18.0
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. -- This message was sent by Atlassian Jira (v8.3.4#803005)