A highly productive Java developer will often figure out the right tool to use for the right task. If you are a Java developer and you use Eclipse IDE, then you are on your way to being productive.
One of the things about Eclipse is that it can suck up your computer memory and you may encounter ‘OutOfMemoryError’. To give Eclipse more memory to use, you may want to add the following to eclipse.ini file.
-vmargs -Xms512M -Xmx1024M -XX:PermSize=128M -XX:MaxPermSize=256M
To verify the settings are properly configured go to menu Help->About Eclipse Platform and then click on the ‘Configuration Details’ button.
For more info. see this article on Eclipse Zone.