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 eclipse.app
icon
Click on Show Package Contents
Open eclipse.ini
file
Change below parameters
-Xms512m
-Xmx3000m (Hoping your developer box has >4GB of memory)
Add below parameters
-XX:PermSize=256m
-XX:MaxPermSize=512m
The most obvious explanation is that you are truly out of memory. In which case starting Eclipse with a bigger heap should help
-vmargs -Xmx256M
varying the 256M to see what works for you.
I would not expect to see this problem if you have just a few simple projects. If you are using additional plugins then conceivably the amount of heap you need may need to be increased.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With