Fixing the Eclipse Memory issue
A few weeks ago I upgraded to eclipse 3.4 and the latest version of the Force.com IDE. Since then I have been constantly plagued by Out of Memory errors and have not only experienced extreme frustration but also decreased productivity. Last night while migrating configuration from sandbox to production I finally got fed up with it and decided to take some action. After scouring various posts on message boards I came across this thread indicating that the following three parameters should fix the problem:
-vmargs
-Xms128m
-Xmx512m
Before editing your eclipse.ini file (located in the folder containing the eclipse executable), you should make a backup copy, just in case something goes wrong (which is unlikely). Once you edit it, you’ll probably already see the -vmargs parameter. You might also see the -Xms and -Xmx parameters but set to different numbers. If you do see them, change the numbers to those above. If you don’t see them then add them. Save the .ini file and launch eclipse, and forget about your memory problems.