Re: Best way/tool to debug memory leaks in HiveServer2

2018-03-14 Thread rajan sthapit
I tried getting the histo as you suggested jmap -histo:live ${PID} However, it only shows the histo of the live objects https://gist.github.com/anonymous/669eae8128c9a11f72fcdc1f82270460. Also the total memory from the histogram shows to be around 5GB. However, if I look at the total process m

Best way/tool to debug memory leaks in HiveServer2

2018-03-13 Thread rajan sthapit
Hi, I am currently trying to debug a memory leak in a HiveServer2 java process. The heap size for the jvm is set to 16GB. When I look at the heap usage it is well under 16 GB, However, if I look at the total memory consumed by the process(top command) it's more than 30 GB. Currently, I am trying