ZGC memory size without unit check
See original GitHub issueI find gctoolkit get the raw memory size in ZGCParser.java without the unit check.
I think the line liked markStart[index] = trace.getLongGroup(2); should change to markStart[index] = trace.getMemoryInKBytes(2); .
However, the lowest heap size of ZGC is 2MB,is the Mb will more suitable than the Kb?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
The Z Garbage Collector - Oracle Help Center
The Z Garbage Collector (ZGC) is a scalable low latency garbage collector. ZGC performs all expensive work concurrently, without stopping the execution of ......
Read more >ZGC used memory spikes upto to max - java - Stack Overflow
I tried to check if my service caught OOM but looks like nope. Here is the JVM arguments I use to run application:...
Read more >Performance evaluation of Java garbage collectors for large ...
The Z Garbage Collector (ZGC) is a low latency GC designed to achieve pause times independent of the heap or live-set size, that...
Read more >Memory Management at Image Run Time - GraalVM
If the same image is executed on a machine that has 32GB of RAM, the maximum Java heap size will be set to...
Read more >Java's new Z Garbage Collector (ZGC) is very exciting - Opsian
Garbage Collection at its most basic involves identifying memory that is no longer in use and making it available for re-use.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Sure. The log fragment is shown as below @kirk-microsoft .
Fragment
772M (38%)is the reason that I suggest the line liked markStart[index] = trace.getLongGroup(2); should change to markStart[index] = trace.getMemoryInKBytes(2); .@kirk-microsoft So it sounds like if KBytes are assumed everywhere that the code doesn’t need to change?