Out of memory error in eclipse.why?

sivakumar picture sivakumar · Jul 25, 2011 · Viewed 84.9k times · Source

When i create a new project in "Eclipse" IDE.Suddenly it shows an alert message "Out of memory error".I cannot identify the reason. If any one know the reason please tell me.

Answer

alexblum picture alexblum · Jul 25, 2011

Try to start eclipse with follow paramenters:

eclipse.exe -vmargs -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m

Or justify these parameters for your requirements