Eclipse Juno travando na inicialização com erros OutOfMemory

Eclipse Juno travando na inicialização com erros OutOfMemory

O Eclipse Juno acabou de se atualizar e agora está pendurado imediatamente após a inicialização. Executá-lo no console revela os seguintes erros:

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"

Estou executando o Eclipse no OSX com a versão mais recente do Java:

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)

Achei que talvez precisasse de uma pilha maior, então criei o seguinte arquivo eclipse.ini e dei até 4 GB de RAM (meu laptop tem 16 GB):https://gist.github.com/3804519

O arquivo eclipse.ini parece ter sido selecionado porque a tela inicial não é mais exibida, mas ainda está congelando.

Alguém tem alguma idéia?

Responder1

Encontrei o mesmo problema depois de atualizar o Eclipse Juno hoje. para mim, criar um eclipse.ini (não havia nenhum antes) com o conteúdo --launcher.XXMaxPermSize 256m resolveu o problema. o mesmo para jdk 1.7.0_04 e 1.6.0_35 no macosx 10.8.2. saúde!

informação relacionada