Hi, Charlin, "max" - shows maximum settings, eg. which was set via -Xmx.
You should look at "used" and "committed" metrics. BTW, heap / non-heap metrics shows only memory used by a Java program, entire JVM usage can be larger: https://stackoverflow.com/questions/35186322/find-my-application-memory-foot-print-programmatically/35248389#35248389 Best regards, Ilya Shishkov пт, 27 мар. 2026 г. в 07:44, Charlin S <[email protected]>: > > Hi All, > I am using Ignite 2.16 and observing a memory spike in the JVM; it shows 17.2 > GB used but the grid metrics do not reflect this. Why does > sys.memory.nonheap.max always show -1? > Ignite grid started with these JVM parameters: -J-Xms4g -J-Xmx8g > -J-XX:+UseG1GC > > --metric sys > -------------------------------------------------------------------------------- > metric value > sys.CurrentThreadCpuTime 11378094 > sys.memory.heap.committed 4294967296 > sys.ThreadCount 85 > sys.memory.nonheap.committed 100925440 > sys.TotalStartedThreadCount 952 > sys.CurrentThreadUserTime 0 > sys.PeakThreadCount 89 > sys.memory.nonheap.used 97347672 > sys.memory.heap.used 3578777408 > sys.memory.nonheap.max -1 > sys.TotalExecutedTasks 0 > sys.SystemLoadAverage 0.01 > sys.memory.heap.init 4294967296 > sys.UpTime 54026404 > sys.DaemonThreadCount 12 > sys.CpuLoad 0.002 > sys.GcCpuLoad 0.0 > sys.memory.heap.max 8589934592 > sys.memory.nonheap.init 7667712 > Command [METRIC] finished with code: 0 > > Java processor details: 20 0 27.8g 17.2g 22596 S 2.3 27.8 78:29.30 > java > > Thanks and Regards, > Charlin > >
