使用Message:-Java堆空间启动后,Eclipse Kepler崩溃

16 java eclipse

我正在低于例外

An internal error occurred during: "Building workspace".
Java heap space
Run Code Online (Sandbox Code Playgroud)

然后我就到了

An out of memory has occured. COnsult the "Running Eclipse" section of the read me file on preventing such kind of error in future..........................
DO you want to exit the workbench?
Run Code Online (Sandbox Code Playgroud)

Gur*_*ngh 33

在您的eclipse安装文件夹中,找到eclipse.ini文件并进行更改

-Xms512m
-Xmx1024m
Run Code Online (Sandbox Code Playgroud)

参数根据您的要求.


Ram*_*oza 7

您可以使用该常见问题 http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F

表示修改eclipse.ini文件

重要的

--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Xms1024m
-Xmx2048m
-XX:+UseParallelGC
-XX:PermSize=512M
-XX:MaxPermSize=2048M
Run Code Online (Sandbox Code Playgroud)