Search code examples
javaeclipse

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


I am getting below exception

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

and then i am getting

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?

Solution

  • In your eclipse installation folder, find the eclipse.ini file and change

    -Xms512m
    -Xmx1024m
    

    parameters according to your requirement.