[ https://issues.apache.org/jira/browse/HIVE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903828#comment-14903828 ]
Navis commented on HIVE-11768: ------------------------------ [~ashutoshc] If it's so, HIVE-6091 is needed to remove "tmpFile.deleteOnExit()" in createTmpFile, which causes this issue. I'm ok with any direction. > java.io.DeleteOnExitHook leaks memory on long running Hive Server2 Instances > ---------------------------------------------------------------------------- > > Key: HIVE-11768 > URL: https://issues.apache.org/jira/browse/HIVE-11768 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 1.2.1 > Reporter: Nemon Lou > Assignee: Navis > Attachments: HIVE-11768.1.patch.txt, HIVE-11768.2.patch.txt > > > More than 490,000 paths was added to java.io.DeleteOnExitHook on one of our > long running HiveServer2 instances,taken up more than 100MB on heap. > Most of the paths contains a suffix of ".pipeout". -- This message was sent by Atlassian JIRA (v6.3.4#6332)