Eclipse Error: GC Overhead Limit Excceded

If you get the eclipse error “GC Overhead Limit Excceded” it means that the eclipse IDE needs to us more memory in order to function. (especially if you have a 64-bit processor) this is how to fix the error:

It turns out that for 64bit Java, Eclipse needs more memory than with a 32bit Java. To fix this, have at least the following memory sizes defined in your eclipse.ini (search for it on your computer – it should be in the elipse folder):

-Xms512m
-Xmx1024m
-XX:PermSize=64m
-XX:MaxPermSize=128m

additional resources:

http://docs.oseems.com/application/eclipse/fix-gc-overhead-limit-exceeded

http://www.ithoughts.de/eclipse-out-of-memory-error-and-gc-overhead-limit-exceeded

problem solved – MotoDev & Eclipse stuck at “Initalizing Java Tools”

So Randomly today, I was having a problem of getting MotoDev Studio & Eclipse to work and run my android projects. I was getting this error “Initalizing Java Tools” and “java.io.FileNotFoundException” on the command line. I tried everything from uninstalling and reinstalling MotoDev & Eclipse but that did nothing. But I managed to fix it by temporary removing all my files from the Workspace. Then I open Eclipse and if any folders where still there are deleted them. Then closed it (pretty much cleaning up my workspace). I then opened MotoDev and checked to see if  I would still get the error “Initalizing Java Tools” But I didnt. I created a test project just to see if it worked and it did.

  1. 1. Close Eclipse.
  2. Temporary move offending project somewhere out of the workspace.
  3. Start Eclipse, wait for workspace to load (it should).
  4. Close Eclipse again.
  5. Move the project back to workspace.

The below link has two different ways to solve this problem if it ever happens to you. Save the time and energy from Uninstalling and Reinstalling your software.

Forum Link “Eclipse Hangs while Opening Workspace” (I used this one)

How to Prevent Eclipse from Hanging on StartUp