Wednesday, February 24, 2021
JVM Heap
Min Heap :6G
Max Heap :6G
-XX:NewSize=3072M
-XX:+UseCMSInitiatingOccupancyOnly
-XX:CMSInitiatingOccupancyFraction=70
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
Min Heap: 6G and Max Heap: 6G indicate the minimum and maximum heap memory sizes set for the JVM, respectively. The heap is the area of memory where objects are allocated and managed by the JVM.
-XX:NewSize=3072M sets the initial size of the young generation heap, which is where newly created objects are first allocated.
-XX:+UseCMSInitiatingOccupancyOnly and -XX:CMSInitiatingOccupancyFraction=70 are options for the Concurrent Mark and Sweep (CMS) garbage collector, which is used for managing the heap memory in this configuration. UseCMSInitiatingOccupancyOnly means that CMS will only start when the heap occupancy reaches a certain level, as determined by CMSInitiatingOccupancyFraction (70% in this case).
-XX:+UseParNewGC enables the Parallel New (ParNew) garbage collector, which is used to manage the young generation heap.
-XX:+UseConcMarkSweepGC enables the CMS garbage collector for managing the old generation heap. This collector works concurrently with the application, meaning that garbage collection can occur simultaneously with other tasks, reducing the likelihood of application pauses.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment