Hi,

I have set the off heap size to 500 MB and max heap size to 512 MB.

My process is taking around 1.7 GB on Windows 10 as per the task manager.
So I decided to track the memory distribution using jcmd to find out if
there are any memory leaks in non-heap space.

After pushing the data to cache I took the native memory summary using jcmd
tool.

I am trying to understand in which of the following section, allocated off
heap memory goes?

Does off heap come under "*Internal*" category?  Can any ignite memory
expert help me with this?

Oracle documentation
<https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr022.html>
does
not clearly talks about it. I am also attaching the native memory detail
file.

C:\Java64\jdk1.8.0_144\bin>jcmd.exe 16956 VM.native_memory summary

16956:

 Total: reserved=3513712KB, committed=2249108KB

-                 Java Heap (reserved=524288KB, committed=524288KB)

                            (mmap: reserved=524288KB, committed=524288KB)



-                     Class (reserved=1127107KB, committed=86507KB)

                            (classes #13259)

                            (malloc=10947KB #17120)

                            (mmap: reserved=1116160KB, committed=75560KB)



-                    Thread (reserved=89748KB, committed=89748KB)

                            (thread #88)

                            (stack: reserved=89088KB, committed=89088KB)

                            (malloc=270KB #454)

                            (arena=391KB #175)



-                      Code (reserved=254854KB, committed=30930KB)

                            (malloc=5254KB #8013)

                            (mmap: reserved=249600KB, committed=25676KB)



-                        GC (reserved=29656KB, committed=29576KB)

                            (malloc=10392KB #385)

                            (mmap: reserved=19264KB, committed=19184KB)



-                  Compiler (reserved=188KB, committed=188KB)

                            (malloc=57KB #243)

                            (arena=131KB #3)



-                  Internal (reserved=1464736KB, committed=1464736KB)

                            (malloc=1464672KB #40848)

                            (mmap: reserved=64KB, committed=64KB)



-                    Symbol (reserved=18973KB, committed=18973KB)

                            (malloc=15353KB #152350)

                            (arena=3620KB #1)



-    Native Memory Tracking (reserved=3450KB, committed=3450KB)

                            (malloc=14KB #167)

                            (tracking overhead=3436KB)



-               Arena Chunk (reserved=712KB, committed=712KB)

                            (malloc=712KB)

Reply via email to