2016-04-06 39 views
0

約1日半前の時点で、Eclipse IDEで突然GCエラーとJavaヒープスペースエラーが発生しました。私の仕事を終わらせることは不可能になっています。 IDEは単に数分間応答を停止し、GCエラーでクラッシュし始めます。これらの問題は、IDEの起動におよそ2分かかります。Nodeclipse - GCエラーの解決策が見つかりません

これらのエラーは、コードを実行していても、ファイルを開いたりコードを変更するだけで発生します。 「選択からJavaScript ASTを要求しています」というエラーが発生しました

私はいくつかの解決策を試しました。私は持っています:

  1. 私は新しいワークスペースを作成し、私の3つのプロジェクトをインポートしました。
  2. 私はもともとSTSを使用していました。私の仕事の大部分は現在nodejsで行われているので、Nodeclipseの新バージョンをダウンロードしました。
  3. eclipse.iniファイルの値を調整しました。私はメモリの値と必要なJavaのバージョンを調整しました。現在のiniファイルは、次のようになります。

-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 

私のやり方にかかわらず、問題は引き続き続きます。誰にでも私のための解決策がありますか?この問題は、Eclipseのインストールとワークスペースから完全に独立しているようです。ここで

は、私が過去1時間受け取ったエラーのリストです:

!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) 

答えて

0

いくつかのEclipseプラグインはかなり非効率的であり、メモリのかなりの量を必要とし、特に大規模なプロジェクトやマージされたソースファイルを解析するとき。

1GBで十分でない場合があります。

ヒープリミットを数ギガバイトに上げても問題が解決されない場合、コンポーネントの1つにメモリリークが発生することがあります。その場合は、どれを見つけてバグを報告する必要があります。 これは、ヒープ・ダンプを取って、どのクラスが大部分のメモリーを保持しているかを分析することで実行できます。

関連する問題