본문 바로가기

IT-Consultant

이클립스가 갑자기 다운 될 때

When Using JDK 1.6.0_21

Eclipse has a very serious bug where it does not properly pass the memory limits from eclipse.ini to Java. As a result, Eclipse quickly runs out of memory and crashes with little warning and few obvious error messages. This bug applies only to jkd1.6.0_21 and later on Windows, but applies equally to Eclipse 3.6 (Helios), Eclipse 3.5 (Ganymade), and Eclipse 3.4 (Europa). To fix this, go to the Eclipse installation folder (e.g., C:\eclipse) and add the following to the bottom of eclipse.ini:

  -XX:MaxPermSize=256m

아마도 버그인듯...


현재 내 설정


-startup plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vm C:\Program Files\Java\jdk1.6.0_29\jre\bin\server\jvm.dll -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m -XX:MaxPermSize=256m