[ 
https://issues.apache.org/jira/browse/HIVE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14909982#comment-14909982
 ] 

Nemon Lou commented on HIVE-11768:
----------------------------------

For better understand:
The deletion of temp file can not fix this memory leak.It's the path string 
that added to java.io.DeleteOnExitHook causing the leak.Once 
"File.deleteOnExit()" is invoked ,the path string is leaked.No matter the temp 
file will be deleted or not .
[~ashutoshc] 

> 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
>             Fix For: 2.0.0
>
>         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)

Reply via email to