Eclipse Kepler Crash after startup with Message:-Java heap space

后端 未结 4 1070
不思量自难忘°
不思量自难忘° 2020-12-30 03:45

I am getting below exception

An internal error occurred during: \"Building workspace\".
Java heap space

and then i am getting

<         


        
4条回答
  •  南方客
    南方客 (楼主)
    2020-12-30 03:54

    You can use that faq http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F

    which indicates to modify the eclipse.ini file

    the important ones

    --launcher.XXMaxPermSize
    512m
    --launcher.defaultAction
    openFile
    -vmargs
    -Xms1024m
    -Xmx2048m
    -XX:+UseParallelGC
    -XX:PermSize=512M
    -XX:MaxPermSize=2048M
    

提交回复
热议问题