You can change increment size for heap with:
-XX:NewSizeThreadIncrease=size, where size is one the amount of memory in Kilobytes.
Will set the increment size to 1024 Kilobytes:
The JVM heap grows during the run of the application. As more threads created in a server application, the object allocation rate will increase with the number of active threads. The number of active threads is considered when adjusting the size of the young space, after a garbage collection. This flag specifies, in Kilobytes, the increment in young object space size, per active thread, to accomodate potentially faster object allocation rate. For applications that frequently create a lot of objects modifying the value for this options could boost performance.
TODO link UseG1GC, MinHeapFreeRatio, MaxHeapFreeRatio, Xmx, Xms, UseSerialGC, USeParNewGC, UseParallelGC, UseZGC
If you have additional comments, interesting experiences or even point of disagreement with this JVM argument description, please leave a comment. Your insights will help the entire 10+ million java developer community to develop one standard source of documentation for all the JVM arguments.
Edit your Comment