[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-gc-use
Subject:    Re: Native memory report
From:       Thomas Schatzl <thomas.schatzl () oracle ! com>
Date:       2022-04-21 11:07:29
Message-ID: 83e9f260-a4da-6c08-4893-42ca6f22fe50 () oracle ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic