我已经配置了以下内存选项:
导出MEM_OPTS =“ – Xmx2560m -Xms2560m -XX:NewSize = 786m -XX:MaxNewSize = 786m -XX:UseTLAB -XX:MaxPermSize = 512m”
GC参数如下:
export GC1_OPTS =“ – XX:UseConcMarkSweepGC -XX:UseParNewGC -XX:CMSInitiatingOccupancyFraction = 50 -XX:CMSPermGenSweepingEnabled -XX:CMSClassUnloadingEnabled -XX:CMSParallelRemarkEnabled -XX:UseAdaptiveGCBoundary”
export GC2_OPTS =“ – XX:ExplicitGCInvokesConcurrent”
我想知道,当CMS将运行时,它将运行在2560 MB的50%之后,否则会在512 MB内存的50%之后运行.
什么是概念?
我的总记忆将是= 2560 786 512 MB ….对吧?或“-XX:NewSize = 786m -XX:MaxNewSize = 786m”用于NON堆.请解释该概念.