Huge resident size despite small heap

Stefan Reich stefan.reich.maker.of.eye at googlemail.com
Wed Mar 30 16:59:51 UTC 2022


Process got to 9GB, yet various diagnostics still unremarkable:

  MemoryMXBean.getHeapMemoryUsage() showing 1.5 GB committed
  MemoryMXBean.getNonHeapMemoryUsage() showing 350 MB committed
  Memory pools also looking healthy: https://botcompany.de/images/1103117

(Big Eden space though. Is that normal?)

I did find the courage to upgrade to JDK 18. So far the ship is afloat.
Have enabled NMT too. Patient will be monitored.

Thanks


On Mon, 28 Mar 2022 at 18:23, Stefan Reich <
stefan.reich.maker.of.eye at googlemail.com> wrote:

> Yeah I gotcha... here it is:
>
> root at c8:~# ps -aef|grep 6344
> root      6344     1 24 Mar22 ?        1-10:46:31 java
> --illegal-access=permit -Xmx2g --add-opens
> java.base/jdk.internal.loader=ALL-UNNAMED --add-opens
> java.base/jdk.internal.module=ALL-UNNAMED --add-opens
> java.base/jdk.internal.ref=ALL-UNNAMED --add-opens
> java.base/java.lang.module=ALL-UNNAMED --add-opens
> java.base/jdk.internal.reflect=ALL-UNNAMED -jar /root/.javax/x30.jar 1013896
>
> On Mon, 28 Mar 2022 at 17:52, Shawn Heisey <java at elyograg.org> wrote:
>
>> On 3/28/22 09:31, Stefan Reich wrote:
>> > Hi Shawn - interesting, but that's not it...
>> > https://botcompany.de/images/1103113
>>
>> That makes me suspect that Java is not being given the memory options
>> you think it is.  Take a look at the output from this command, and share
>> it if you can, substituting the correct PID number if that has changed:
>>
>> ps axww | grep 6344
>>
>> If the ps on that system doesn't like those options, replace "axww" with
>> "-aef".
>>
>> Thanks,
>> Shawn
>>
>> _______________________________________________
>> hotspot-gc-use mailing list
>> hotspot-gc-use at openjdk.java.net
>> https://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>>
>
>
> --
> == Gaz.AI ==
>


-- 
== Gaz.AI ==
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20220330/3b361a87/attachment.htm>


More information about the hotspot-gc-use mailing list