Play Games

Search This Blog

Thursday, September 4, 2014

OutofMemoryError: Java heap space Error

Problem : When creating a force.com project using eclipse,some times we get the "out of memory Java heap size error".
sometimes while deploying force.com project also,we get the same error.

Solution:
     
step 1:Go to the directory where eclipse executable file is present.










step 2: In the same directory we can see Eclipse.ini file (configuaration settings file).
Open the file in notepad and find the line -Xmx256m.Increase the memory by changing this line
For example -Xmx512m or -Xmx1024m etc.Then save the file and close it.
step 3:Restart Eclipse.

No comments:

Post a Comment