Ich habe plötzlich konstante GC-Fehler und Java-Heap-Space-Fehler in der Eclipse-IDE vor ungefähr anderthalb Tagen. Es macht es unmöglich, meine Arbeit zu erledigen. Die IDE reagiert einfach für einige Minuten nicht mehr und stürzt dann mit GC-Fehlern ab. Diese Probleme beginnen ungefähr 2 Minuten nach dem Start der IDE.Nodeclipse - Lösung für GC-Fehler kann nicht gefunden werden
Diese Fehler treten beim Öffnen von Dateien oder beim Ausführen von Codeänderungen auf, auch nicht beim Ausführen eines Codes. Die Fehler treten bei "Anfordern von JavaScript AST aus Auswahl"
Ich habe mehrere Lösungen ausprobiert. Ich habe:
- Ich habe einen neuen Arbeitsbereich erstellt und meine 3 Projekte importiert.
- Ich war ursprünglich mit STS. Da der Großteil meiner Arbeit gerade mit nodejs arbeitet, habe ich eine neue Version von Nodelipse heruntergeladen.
- Ich habe die Werte in der Eclipse.ini-Datei angepasst. Ich habe die Speicherwerte und die erforderliche Java-Version angepasst. Meine aktuelle Ini-Datei sieht so aus:
.
-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
-product
nodeclipse.package.enide.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms512m
-Xmx1024m
Die Probleme bestehen fort, unabhängig davon, was ich tue. Hat jemand irgendwelche Lösungen für mich? Dieses Problem scheint völlig unabhängig von meinen Eclipse-Installationen und Arbeitsbereichen zu sein.
Hier sind eine Liste der Fehler, die ich in den letzten Stunden erhalten haben:
!ENTRY org.eclipse.core.runtime 4 0 2016-04-06 08:59:17.092
!MESSAGE Invalid input url:platform:/plugin/org.springframework.ide.eclipse.boot/resources/icons/boot-icon.png
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.boot/resources/icons/boot-icon.png".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:290)
...
!ENTRY org.eclipse.jface 4 0 2016-04-06 08:59:17.108
!MESSAGE Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.boot/resources/icons/boot-icon.png".
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.boot/resources/icons/boot-icon.png".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:77)
...
!ENTRY org.eclipse.core.runtime 4 0 2016-04-06 08:59:17.108
!MESSAGE Invalid input url:platform:/plugin/org.springframework.ide.eclipse.boot/resources/icons/boot-icon.png
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.boot/resources/icons/boot-icon.png".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:290)
...
!ENTRY org.eclipse.core.runtime 4 0 2016-04-06 08:59:17.139
!MESSAGE Invalid input url:platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:290)
...
!ENTRY org.eclipse.jface 4 0 2016-04-06 08:59:17.139
!MESSAGE Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif".
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:77)
...
!ENTRY org.eclipse.core.runtime 4 0 2016-04-06 08:59:17.139
!MESSAGE Invalid input url:platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:290)
...
!ENTRY org.eclipse.core.runtime 4 0 2016-04-06 08:59:17.310
!MESSAGE Invalid input url:platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:290)
...
!ENTRY org.eclipse.jface 4 0 2016-04-06 08:59:17.310
!MESSAGE Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif".
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:77)
...
!ENTRY org.eclipse.core.runtime 4 0 2016-04-06 08:59:17.310
!MESSAGE Invalid input url:platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/org.springframework.ide.eclipse.ui/icons/full/obj16/spring_explorer_obj.gif".
at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSupport.java:290)
...
!ENTRY org.eclipse.core.jobs 4 2 2016-04-06 09:43:19.836
!MESSAGE Unhandled error
!STACK 0
java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.eclipse.core.internal.jobs.JobListeners.newEvent(JobListeners.java:78)
at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:149)
...
!ENTRY org.eclipse.core.jobs 4 2 2016-04-06 09:43:34.407
!MESSAGE Unhandled error
!STACK 0
java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.eclipse.core.internal.jobs.JobListeners.newEvent(JobListeners.java:78)
at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:149)
...
!ENTRY org.eclipse.ui 4 0 2016-04-06 09:43:35.006
!MESSAGE Error occurred during status handling
!STACK 0
java.lang.NullPointerException
at org.eclipse.swt.graphics.TextLayout.setStyle(TextLayout.java:3081)
at org.eclipse.jface.viewers.StyledCellLabelProvider.updateTextLayout(StyledCellLabelProvider.java:276)
...
!ENTRY org.eclipse.ui 4 0 2016-04-06 09:44:23.621
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.swt.graphics.TextLayout.setStyle(TextLayout.java:3081)
at org.eclipse.jface.viewers.StyledCellLabelProvider.updateTextLayout(StyledCellLabelProvider.java:276)
...
!ENTRY org.eclipse.core.jobs 4 2 2016-04-06 09:45:08.112
!MESSAGE Unhandled error
!STACK 0
java.lang.OutOfMemoryError: GC overhead limit exceeded
!ENTRY org.eclipse.ui 4 0 2016-04-06 09:45:08.121
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: GC overhead limit exceeded)
at org.eclipse.swt.SWT.error(SWT.java:4491)
at org.eclipse.swt.SWT.error(SWT.java:4406)
...
!ENTRY org.eclipse.core.jobs 4 2 2016-04-06 09:45:08.127
!MESSAGE An internal error occurred during: "Decoration Calculation".
!STACK 0
java.lang.OutOfMemoryError: GC overhead limit exceeded
!ENTRY org.eclipse.ui 4 0 2016-04-06 09:45:09.355
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.swt.graphics.TextLayout.setStyle(TextLayout.java:3081)
at org.eclipse.jface.viewers.StyledCellLabelProvider.updateTextLayout(StyledCellLabelProvider.java:276)
...
!ENTRY org.eclipse.ui 4 0 2016-04-06 09:45:09.516
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.swt.graphics.TextLayout.setStyle(TextLayout.java:3081)
at org.eclipse.jface.viewers.StyledCellLabelProvider.updateTextLayout(StyledCellLabelProvider.java:276)
...
!ENTRY org.eclipse.jface.text 4 0 2016-04-06 09:52:51.585
!MESSAGE Unexpected runtime error while computing a text hover
!STACK 0
java.lang.NullPointerException
at org.eclipse.core.internal.resources.File.getCharset(File.java:194)
at org.eclipse.core.internal.resources.File.getCharset(File.java:185)
...
!ENTRY org.eclipse.core.jobs 4 2 2016-04-06 10:04:39.554
!MESSAGE An internal error occurred during: "Requesting JavaScript AST from selection".
!STACK 0
java.lang.OutOfMemoryError: Java heap space
at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.isErrorState(Parser.java:5557)
at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.parse(Parser.java:5687)
...
!ENTRY org.eclipse.core.jobs 4 2 2016-04-06 10:04:39.558
!MESSAGE An internal error occurred during: "Requesting JavaScript AST from selection".
!STACK 0
java.lang.OutOfMemoryError: GC overhead limit exceeded
at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.isErrorState(Parser.java:5557)
at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.parse(Parser.java:5687)
...
!ENTRY org.eclipse.equinox.p2.metadata.repository 4 0 2016-04-06 10:11:24.908
!MESSAGE Unexpected error loading extension: org.eclipse.equinox.p2.metadata.repository.compositeRepository
!STACK 0
org.eclipse.oomph.util.ReflectUtil$ReflectionException: java.lang.OutOfMemoryError: Java heap space
at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:130)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:344)