Hi,

On 21.04.22 02:53, Stefan Reich wrote:
Hi,

the problem occurred again (huge resident size despite small heap). This time I could gather this report. What to make of it?


The GC component takes a lot of memory that is not given back. I can only guess these are the remembered sets.

[...]
-                        GC (reserved=9014115KB, committed=8979499KB)
                             (malloc=8902991KB #14257646)
                             (mmap: reserved=111124KB, committed=76508KB)
[...]

In the recent email you mentioned that you moved to JDK 18 and "things are afloat"; if that were the case, and you did not use a different collector that the default one (G1) there should be a "GCCardSet" component. See e.g. https://tschatzl.github.io/2022/03/14/jdk18-g1-parallel-gc-changes.html for an example.

Are you sure you are running JDK 18? (Or are you running a different collector than G1 - I maybe overlooked a reference to your GC configuration in the recent emails? - it is generally a good idea to restate your setup after coming back with a new question in a new thread after a few weeks)

Can you track memory consumption via the "summary.diff" jcmd option over time to see if we are leaking memory somewhere? We are not aware of such an issue.

Thanks,
  Thomas
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use@openjdk.java.net
https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use

Reply via email to