2013-12-16 31 views
1

當我嘗試打開一個JavaScript文件時,Eclipse-kepler一直崩潰。Eclipse開普勒當打開一個ext-js javascript文件時崩潰

錯誤:

Exception in thread "org.eclipse.wst.jsdt.internal.ui.text.JavaReconciler" java.lang.OutOfMemoryError: GC overhead limit exceeded at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.isErrorState(Parser.java:5558) at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.parse(Parser.java:5688) at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.parse(Parser.java:6045) at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.parse(Parser.java:5997) at org.eclipse.wst.jsdt.internal.compiler.parser.Parser.dietParse(Parser.java:4602) at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.accept(CompilationUnitProblemFinder.java:166)

的代碼有一些菜單項和一些JavaScript函數,其上的菜單項工作。我工作在Mac

+1

是什麼你的JavaScript文件看起來像? –

回答

0

既然你得到一個內存不足的錯誤,你可以嘗試在你的eclipse.ini文件調整「-Xmx」參數正在增加你的最大內存爲1024