I have the following memory options configured:
export MEM_OPTS="-Xmx2560m -Xms2560m -XX:NewSize=786m -XX:MaxNewSize=786m -XX:+UseTLAB -XX:MaxPermSize=512m"
My GC parameters are below:
export GC1_OPTS="-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:**CMSInitiatingOccupancyFraction=50** -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:+UseAdaptiveGCBoundary" export GC2_OPTS="-XX:+ExplicitGCInvokesConcurrent"
When CMS runs, will it run after 50% of 2560 MB or will it run after 50% of 512 MB of memory? What is the concept?
My total heap memory would be equal to 2560 + 786 + 512 MB, right?
Or is "-XX:NewSize=786m -XX:MaxNewSize=786m"
for NON-heap?
Please explain the concept.