OutOfMemory 오류로 인해 Eclipse Juno가 시작 시 중단됨

OutOfMemory 오류로 인해 Eclipse Juno가 시작 시 중단됨

Eclipse Juno가 방금 자체적으로 업데이트되었으며 이제 시작 직후 정지됩니다. 콘솔에서 실행하면 다음 오류가 표시됩니다.

ian@vega ~/Applications/eclipse> ./eclipse 
Exception in thread "Worker-1" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Worker-1"
Exception in thread "Worker-8" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Worker-8"
Exception in thread "State Saver" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "State Saver"
Exception in thread "Timer-0" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Timer-0"

최신 Java 버전이 설치된 OSX에서 Eclipse를 실행하고 있습니다.

ian@vega ~/Applications/eclipse> java -version
java version "1.7.0_08-ea"
Java(TM) SE Runtime Environment (build 1.7.0_08-ea-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.4-b01, mixed mode)

더 큰 힙이 필요할 수도 있다고 생각하여 다음 eclipse.ini 파일을 생성하고 최대 4GB의 RAM을 제공했습니다(내 노트북에는 16GB가 있습니다).https://gist.github.com/3804519

스플래시 화면이 더 이상 표시되지 않아 eclipse.ini 파일이 선택된 것으로 보이지만 여전히 정지 상태입니다.

누구든지 어떤 아이디어가 있습니까?

답변1

오늘 Eclipse Juno를 업데이트한 후에도 같은 문제가 발생했습니다. --launcher.XXMaxPermSize 256m 콘텐츠로 eclipse.ini(이전에 아무것도 없었음)를 생성하면 문제가 해결되었습니다. macosx 10.8.2의 jdk 1.7.0_04 및 1.6.0_35에서도 동일합니다. 건배!

관련 정보