Sadim Nadeem
09/30/2021, 6:46 AMXiang Fu
-XX:+UseG1GCSadim Nadeem
09/30/2021, 7:29 AMRichard Startin
09/30/2021, 8:54 AMRichard Startin
09/30/2021, 8:56 AMOldObjectSample (do NOT do this in production, it has very high overhead) - see here http://hirt.se/blog/?p=1055Sadim Nadeem
09/30/2021, 9:52 AMSadim Nadeem
09/30/2021, 9:57 AMRichard Startin
09/30/2021, 10:00 AMjmap -dump:live,file=dump.bin <pid>)? If my guess is correct, there should be a lot of ImmutableRoaringBitmap by retained size.Richard Startin
09/30/2021, 10:01 AMSadim Nadeem
09/30/2021, 10:03 AMSadim Nadeem
10/01/2021, 4:35 PMSadim Nadeem
10/01/2021, 4:35 PMSadim Nadeem
10/01/2021, 4:35 PMSadim Nadeem
10/04/2021, 4:55 AMSadim Nadeem
10/04/2021, 4:58 AMSadim Nadeem
10/04/2021, 4:58 AMXiang Fu
Sadim Nadeem
10/04/2021, 5:35 AMXiang Fu
Sadim Nadeem
10/04/2021, 6:00 AMXiang Fu
Sadim Nadeem
10/04/2021, 6:01 AMSadim Nadeem
10/04/2021, 6:02 AMXiang Fu
Xiang Fu
Sadim Nadeem
10/04/2021, 6:05 AMRichard Startin
10/04/2021, 9:31 AMas suggested by @Richard Startin .. inverted indexing may cause memory leak cc: @Subbu Subramaniam
is it necessary to install MAT or JVisualVM heapdump viewer and need to confirm the same (edited)We don't know there is a memory leak, we just know you've found a behaviour change in JDK11, and needed to increase
-Xmx to get things working. This is why I suggested taking a heap dump - you don't need to install anything to do that, just run jmap -dump:live,file=dump.bin <pid> where <pid> is the PID of the server process. Once you have that heap dump exported, you can analyse it with JVisualVM or Eclipse MAT, and you only need to install these on your laptop so you can look at the heap dump. Knowing the top 10 types by retained size would support or conclusively disprove the suggestion that this is caused by soft reference processing changes in G1 between JDK8 and JDK11.Sadim Nadeem
10/04/2021, 10:52 AMSadim Nadeem
10/05/2021, 1:05 PMXiang Fu
Xiang Fu
Sadim Nadeem
10/06/2021, 4:11 AMSadim Nadeem
10/06/2021, 6:06 AMSadim Nadeem
10/06/2021, 6:06 AMXiang Fu
Sadim Nadeem
10/06/2021, 6:46 AM