其他分享
首页 > 其他分享> > IDEA和Eclipse启动优化

IDEA和Eclipse启动优化

作者:互联网

昨天对比了下IDEA和Eclipse的启动速度,发现IDEA启动真的是好慢啊!!!

 

电脑配置:8G win7 

 

IDEA启动配置

-Xms1024m
-Xmx1024m
-Xmn500m
-XX:MetaspaceSize=248m
-XX:MaxMetaspaceSize=512m
-XX:PermSize=248m
-XX:MaxPermSize=512m
-XX:ReservedCodeCacheSize=512m
-Xverify:none
-Xnoclassgc
-XX:+AlwaysPreTouch
-XX:+UseG1GC
-XX:+UseStringDeduplication
-XX:AutoBoxCacheMax=20000
-ea
-server
-Dsun.io.useCanonCaches=false
-Dsun.awt.keepWorkingSetOnMinimize=true
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-Dfile.encoding=UTF-8
-XX:+DisableExplicitGC
-javaagent:E:\IDEA\installl\JetbrainsCrack-2.7-release-str.jar

 

 

 

eclipse启动配置

-vm
E:/java64/java8/bin/javaw.exe 
-startup
plugins/org.eclipse.equinox.launcher_1.5.500.v20190715-1310.jar
--launcher.library
C:/Users/user/.p2/pool/plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.1100.v20190907-0426
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx1024m
-XX:PermSize=256M 
-XX:MaxPermSize=512M
-XX:ReservedCodeCacheSize=256m
-XX:+TieredCompilation
-XX:MetaspaceSize=256m
-XX:MaxMetaspaceSize=512m
--add-modules=ALL-SYSTEM
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/

 

标签:512m,launcher,eclipse,Eclipse,IDEA,XX,org,优化
来源: https://www.cnblogs.com/stuhjf/p/11804446.html