Eclipse 속도 빠르게 튜닝

4G 이상 메모리

osx 기준

eclipse.ini

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs

-Dosgi.requiredJavaVersion=1.7
-Xverify:none
-XX:-UseConcMarkSweepGC
-XX:+UseParNewGC
-XX:+AggressiveOpts

-XX:PermSize=384M
-XX:MaxPermSize=384m

-XX:NewSize=384M
-XX:MaxNewSize=384M

-Xms2G
-Xmx2G

-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=$CATALINA_BASE/logs
-XX:OnOutOfMemoryError=$CATALINA_HOME/bin/restart.sh

-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

윈도우는 ../Eclipse/plugins 를 plugins 로 바꾸면됨

1
2
3
4
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417

시작안될때 주의점

-XX:+UseParallelGC 를 빼야함
-XX:+UseParNewGC 와 동시에 사용하면 안됨
참조링크 Young generation garbage collection algorithms 부분 봐야함

링크

잘된 설명
http 및 Out of memory

참고링크
참고링크

avatar

코딩공작소

코딩에 관한 여러가지 방법 모음 : 개인 저장소입니다