Alexander, Can you share the jmap histo (or even better, a heapdump)? What are the top consumers? What are the heap+permgen sizes that the JVM is configured to use?
FYI, we fixed this memory leak in Hive-14: https://issues.apache.org/jira/browse/HIVE-7353. Thanks, -Vaibhav From: Alexander Pivovarov <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Wednesday, February 4, 2015 at 6:03 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Hiveserver2 memory / thread leak v 0.13.1 (hdp-2.1.5) I'm using hive-0.13.1 (hdp-2.1.5) Hiveserver2 is running for 6 days nobody is connected to the server now. last connection was 30 min ago. Used memory: 688MB (after GC) Live threads: 297 perm: 99.6% used Two days ago numbers were Used memory: 259MB (after GC) Live threads: 108 perm: 98% used Looks like a memory/thread leak. Today and 2 days ago VisualVM screenshots are attached
