在Windows下以低优先级从Eclipse启动,可以通过以下步骤实现:
-vmargs
-XX:+UseConcMarkSweepGC
-XX:+CMSParallelRemarkEnabled
-XX:+CMSClassUnloadingEnabled
-XX:+UseCMSInitiatingOccupancyOnly
-XX:CMSInitiatingOccupancyFraction=70
-XX:+UseParNewGC
-XX:+CMSParallelInitialMarkEnabled
-XX:+CMSEdenChunksRecordAlways
-XX:+CMSIncrementalMode
-XX:+CMSIncrementalPacing
-XX:CMSIncrementalDutyCycleMin=0
-XX:CMSIncrementalDutyCycle=10
-XX:CMSIncrementalSafetyFactor=10
-XX:CMSExpAvgFactor=25
-XX:+UseCMSCompactAtFullCollection
-XX:CMSFullGCsBeforeCompaction=0
-XX:CMSInitiatingOccupancyFraction=70
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=M:\eclipse_workspace.metadata.plugins\org.eclipse.core.runtime.settings\org.eclipse.ui.editors.large.prefs
-Xmn128m
-Xms256m
-Xmx512m
-Xss2m
-XX:+UseLargePages
-XX:+AggressiveOpts
-XX:+AlwaysPreTouch
-XX:+UseNUMA
-XX:+UseG1GC
-XX:+ScavengeBeforeFullGC
-XX:+UseStringDeduplication
-XX:+OptimizeStringConcat
-XX:+UseCompressedOops
-XX:+UseCompressedClassPointers
-XX:+UseCodeCacheFlushing
-XX:ReservedCodeCacheSize=128m
-XX:+UseDynamicNumberOfGCThreads
-XX:ParallelGCThreads=4
-XX:ConcGCThreads=4
-XX:G1HeapRegionSize=4m
-XX:G1NewSizePercent=50
-XX:G1MaxNewSizePercent=80
-XX:G1HeapWastePercent=10
-XX:G1MixedGCCountTarget=16
-XX:G1MixedGCLiveThresholdPercent=90
-XX:G1OldCSetRegionThresholdPercent=10
-XX:G1OldCSetRegionLiveThresholdPercent=10
-XX:G1RSetRegionThresholdPercent=10
-XX:G1RSetRegionLiveThresholdPercent=10
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G1HeapRegionSize=4m
-XX:G
领取专属 10元无门槛券
手把手带您无忧上云