Option and Default Value
|
Description
|
-XX:+UseG1GC
|
Use the Garbage First (G1), Collector
|
-XX:MaxGCPauseMillis=n
|
Sets a target for the maximum GC pause time. This is a soft goal, and the JVM will make its best effort to achieve it.
|
-XX:InitiatingHeapOccupancyPercent=n
|
Percentage of the (entire) heap occupancy to start a concurrent GC cycle. It is used by GCs that trigger a concurrent GC cycle based on the occupancy of the entire heap, not just one of the generations (e.g., G1). A value of 0 denotes 'do constant GC cycles'. The default value is 45.
|
-XX:NewRatio=n
|
The ratio of old/new generation sizes. The default value is 2.
|
-XX:SurvivorRatio=n
|
The ratio of Eden/survivor space size. The default value is 8.
|
-XX:MaxTenuringThreshold=n
|
The maximum value for the tenuring threshold. The default value is 15.
|
-XX:ParallelGCThreads=n
|
Sets the number of threads used during parallel phases of the garbage collectors. The default value varies with the platform on which the JVM is running.
|
-XX:ConcGCThreads=n
|
A number of threads concurrent garbage collectors will use. The default value varies with the platform on which the JVM is running.
|
-XX:G1ReservePercent=n
|
Sets the amount of heap that is reserved as a false ceiling to reduce the possibility of promotion failure. The default value is 10.
|
-XX:G1HeapRegionSize=n
|
With G1 the Java heap is subdivided into uniformly sized regions. This sets the size of the individual sub-divisions. The default value of this parameter is determined ergonomically based upon heap size. The minimum value is 1Mb and the maximum value is 32Mb.
|
AEM4BEGINNER blog is for Beginners who are interested in learning Adobe Experience Manager (AEM) aka Adobe CQ5 from basics. The Information provided in this blog is for learning and testing purposes only. Here, I have posted the information which I know or gathered from different sources.
April 23, 2020
Estimated Post Reading Time ~
AEM JVM GC options
Garbage First (G1) Garbage Collection Options
By
aem4beginner
No comments:
Post a Comment
If you have any doubts or questions, please let us know.