When trying to build big project the error,
Java Heap Space
just occurred. Try to set ...
Window -> Preferences -> Java -> Installed JREs ->Edit
enter "-Xms128M -Xmx2048M" (replace 128 or 2048 with the proper memory your project will need) into "Default Vm Arguments: " and restart eclipse and try again.