Eclipse Juno se bloquea al iniciar con errores OutOfMemory

Eclipse Juno se bloquea al iniciar con errores OutOfMemory

Eclipse Juno acaba de actualizarse y ahora se bloquea inmediatamente después del inicio. Ejecutarlo desde la consola revela los siguientes errores:

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"

Estoy ejecutando Eclipse en OSX con la última versión de 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)

Pensé que tal vez necesitaba un montón más grande, así que creé el siguiente archivo eclipse.ini y le di hasta 4 gigas de RAM (mi computadora portátil tiene 16 gigas):https://gist.github.com/3804519

El archivo eclipse.ini parece haber sido recogido porque la pantalla de presentación ya no se muestra, pero aún está congelado.

¿Alguien tiene alguna idea?

Respuesta1

Me encontré con el mismo problema después de actualizar Eclipse Juno hoy. Para mí, crear un eclipse.ini (no había ninguno de antemano) con el contenido --launcher.XXMaxPermSize 256m resolvió el problema. Lo mismo para jdk 1.7.0_04 y 1.6.0_35 en macosx 10.8.2. ¡salud!

información relacionada