Out of memory error in eclipse.why?
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.
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.
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
If you are running Eclipse on Mac OS X then
Right click on iconeclipse.app
Click on Show Package Contents
Open fileeclipse.ini
Change below parameters
-Xms512m
-Xmx3000m (Hoping your developer box has >4GB of memory)
Add below parameters
-XX:PermSize=256m
-XX:MaxPermSize=512m