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

Gopal V commented on HIVE-20951:
--------------------------------

[~bslim]: this is already off-heap and mostly allocated by other systems like 
java NIO.

I suspect we'll end up fixing it via the -D parameter once we go to JDK11

https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8147468



> LLAP: Set Xms to 50% always 
> ----------------------------
>
>                 Key: HIVE-20951
>                 URL: https://issues.apache.org/jira/browse/HIVE-20951
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>    Affects Versions: 4.0.0, 3.1.1
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Major
>
> The lack of GC pauses is killing LLAP containers whenever the significant 
> amount of memory is consumed by the off-heap structures which aren't cleaned 
> up automatically until the GC runs.
> There's a java.nio.DirectByteBuffer.Deallocator which runs when the Direct 
> buffers are garbage collected, which actually does the cleanup of the 
> underlying off-heap buffers.
> The lack of Garbage collection activity for several hours while responding to 
> queries triggers a build-up of these off-heap structures which end up forcing 
> YARN to kill the process instead.
> It is better to hit a GC pause occasionally rather than to lose a node every 
> few hours.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to