Fwd: Native memory report

Stefan Reich stefan.reich.maker.of.eye at googlemail.com
Thu May 5 11:59:39 UTC 2022


---------- Forwarded message ---------
From: Stefan Reich <stefan.reich.maker.of.eye at googlemail.com>
Date: Thu, 5 May 2022 at 13:58
Subject: Re: Native memory report
To: Jeremy Whiting <jwhiting at redhat.com>


Hi Thomas and Jeremy,

thank you for your hints. The process is running smoothly right now
(resident size <2GB) so I assume there is nothing to debug... I'll keep
your suggestions filed if a problem arises again. JVM's name is cleared for
now :)

Thanks,
Stefan

On Thu, 5 May 2022 at 13:23, Jeremy Whiting <jwhiting at redhat.com> wrote:

> Hi Stefan,
>  Did you try native memory allocation diagnosis ?
>  This is a blog post showing how to use jemalloc and jeprof to identify
> the cause in your JVM.
>
>
> https://technology.blog.gov.uk/2015/12/11/using-jemalloc-to-get-to-the-bottom-of-a-memory-leak/
>
> Regards,
> Jeremy
>
> --
> --
> Jeremy Whiting
> Senior Software Engineer, Middleware Performance Team
> Red Hat
>
> ------------------------------------------------------------
> Registered Address: Red Hat UK Ltd, Peninsular House, 30 Monument Street,
> London. United Kingdom.
> Registered in England and Wales under Company Registration No. 03798903.
> Directors: Directors:Michael Cunningham (US), Michael O'Neill(Ireland),
> Eric Shander (US)
>
> On Thu, 21 Apr 2022 at 01:55, Stefan Reich <
> stefan.reich.maker.of.eye at googlemail.com> wrote:
>
>> Hi,
>>
>> the problem occurred again (huge resident size despite small heap). This
>> time I could gather this report. What to make of it?
>>
>> Greetings
>> Stefan
>>
>> Native Memory Tracking:
>>
>> Total: reserved=13076774KB, committed=10792378KB
>> -                 Java Heap (reserved=2097152KB, committed=1162240KB)
>>                             (mmap: reserved=2097152KB,
>> committed=1162240KB)
>>
>> -                     Class (reserved=1052755KB, committed=19667KB)
>>                             (classes #23245)
>>                             (  instance classes #22394, array classes
>> #851)
>>                             (malloc=4179KB #104371)
>>                             (mmap: reserved=1048576KB, committed=15488KB)
>>                             (  Metadata:   )
>>                             (    reserved=180224KB, committed=177856KB)
>>                             (    used=176408KB)
>>                             (    free=1448KB)
>>                             (    waste=0KB =0.00%)
>>                             (  Class space:)
>>                             (    reserved=1048576KB, committed=15488KB)
>>                             (    used=14496KB)
>>                             (    free=992KB)
>>                             (    waste=0KB =0.00%)
>>
>> -                    Thread (reserved=194875KB, committed=18847KB)
>>                             (thread #191)
>>                             (stack: reserved=194340KB, committed=18312KB)
>>                             (malloc=314KB #1142)
>>                             (arena=221KB #378)
>>
>> -                      Code (reserved=260127KB, committed=156987KB)
>>                             (malloc=12439KB #33280)
>>                             (mmap: reserved=247688KB, committed=144548KB)
>>
>> -                        GC (reserved=9014115KB, committed=8979499KB)
>>                             (malloc=8902991KB #14257646)
>>                             (mmap: reserved=111124KB, committed=76508KB)
>>
>> -                  Compiler (reserved=1934KB, committed=1934KB)
>>                             (malloc=1769KB #2309)
>>                             (arena=165KB #5)
>>
>> -                  Internal (reserved=14536KB, committed=14536KB)
>>                             (malloc=14500KB #72221)
>>                             (mmap: reserved=36KB, committed=36KB)
>>
>> -                     Other (reserved=510KB, committed=510KB)
>>                             (malloc=510KB #320)
>>
>> -                    Symbol (reserved=10841KB, committed=10841KB)
>>                             (malloc=8244KB #307589)
>>                             (arena=2597KB #1)
>>
>> -    Native Memory Tracking (reserved=231067KB, committed=231067KB)
>>                             (malloc=38KB #500)
>>                             (tracking overhead=231028KB)
>>
>> -        Shared class space (reserved=12288KB, committed=12044KB)
>>                             (mmap: reserved=12288KB, committed=12044KB)
>>
>> -               Arena Chunk (reserved=4714KB, committed=4714KB)
>>                             (malloc=4714KB)
>>
>> -                   Logging (reserved=5KB, committed=5KB)
>>                             (malloc=5KB #211)
>>
>> -                 Arguments (reserved=2KB, committed=2KB)
>>                             (malloc=2KB #71)
>>
>> -                    Module (reserved=631KB, committed=631KB)
>>                             (malloc=631KB #3213)
>>
>> -                 Safepoint (reserved=8KB, committed=8KB)
>>                             (mmap: reserved=8KB, committed=8KB)
>>
>> -           Synchronization (reserved=237KB, committed=237KB)
>>                             (malloc=237KB #1697)
>>
>> -                 Metaspace (reserved=755KB, committed=755KB)
>>                             (malloc=755KB #609)
>>
>> -                   Unknown (reserved=180224KB, committed=177856KB)
>>                             (mmap: reserved=180224KB, committed=177856KB)
>>
>>
>> --
>> == Gaz.AI ==
>> _______________________________________________
>> 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/20220505/7bee0f97/attachment.htm>


More information about the hotspot-gc-use mailing list