[ https://issues.apache.org/jira/browse/BEAM-9006?focusedWorklogId=365035&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-365035 ]
ASF GitHub Bot logged work on BEAM-9006: ---------------------------------------- Author: ASF GitHub Bot Created on: 31/Dec/19 17:13 Start Date: 31/Dec/19 17:13 Worklog Time Spent: 10m Work Description: mxm commented on issue #10462: [BEAM-9006] Improve ProcessManager for shutdown hook handling. URL: https://github.com/apache/beam/pull/10462#issuecomment-569960802 Could you squash the commits? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 365035) Time Spent: 1h (was: 50m) > 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 > Priority: Major > Fix For: 2.19.0 > > Time Spent: 1h > Remaining Estimate: 0h > > 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)