title,body,link,tags,view_count,is_answered,score,answer_count
GC graph shows there is a memory leak but unable to track in the dump,"<p>We have a Java Micorservice in our application which is connected to Postgres as well as Phoenix. We are using Spring Boot 2.x.</p>

<p>The problem is we are executing endurance testing for our application for about 8 hours and we could observe that the used heap is keep on increasing though we used the recommended suggestions for VM arguments, looks like a memory leak. we analysed the heap dump however the root cause is not exactly clear for us, can some experts help based on the results?</p>

<p>The VM arguments that we are actually using are:</p>

<blockquote>
  <p>-XX:ConcGCThreads=8 -XX:+DisableExplicitGC -XX:InitialHeapSize=536870912 -XX:InitiatingHeapOccupancyPercent=45 -XX:MaxGCPauseMillis=1000 -XX:MaxHeapFreeRatio=70 -XX:MaxHeapSize=536870912 -XX:MinHeapFreeRatio=40 -XX:ParallelGCThreads=16 -XX:+PrintAdaptiveSizePolicy -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:StringDeduplicationAgeThreshold=1 -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC -XX:+UseStringDeduplication</p>
</blockquote>

<p>We are expecting the used heap should be flat in the GC log, however memory consumption is not released and it keeps on increasing.</p>

<p>Heap Dump:
<a href=""https://i.stack.imgur.com/KE3WM.jpg"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/KE3WM.jpg"" alt=""enter image description here""></a></p>

<p>GC graph:
<a href=""https://i.stack.imgur.com/R0NeV.jpg"" rel=""nofollow noreferrer""><img src=""https://i.stack.imgur.com/R0NeV.jpg"" alt=""enter image description here""></a></p>
",https://stackoverflow.com/questions/57883219/gc-graph-shows-there-is-a-memory-leak-but-unable-to-track-in-the-dump,"['garbage-collection', 'jvm', 'heap-memory']",212,False,0,1
