I am currently working on this HUGE project. We are talking over 1500+ files and many hands dipping into the cookie jar. Even multiple SVN Team Syncs per day can yield 50+ updates or more. This all translates into very long and sometimes unsuccessful compilations of the project.
While looking up the proper syntax for your -vmargs in your Eclipse.ini, I stumbled upon this little nugget of info.
Mac OS X
On Mac OS X, you start Eclipse by double clicking the Eclipse application. If you need to pass arguments to Eclipse, you’ll have to edit the
eclipse.inifile inside the Eclipse application bundle: select the Eclipse application bundle icon while holding down the Control Key. This will present you with a popup menu. Select “Show Package Contents” in the popup menu. Locate
eclipse.inifile in the
Contents/MacOSsub-folder and open it with your favorite text editor to edit the command line options.
On MacOS X you can only launch a UI program more than once if you have separate copies of the program on disk. The reason for this behavior is that every UI application on Mac can open multiple documents, so typically there is no need to open a program twice. Since Eclipse cannot open more than one workspace, this means you have to make a copy of the Eclipse install if you want to open more then one workspace at the same time (bug 139319).
If you need to launch Eclipse from the command line, you can use the symbolic link “eclipse” in the top-level eclipse folder. It refers to the eclipse executable inside the application bundle and takes the same arguments as “eclipse.exe” on other platforms.
On Mac OS X 10.4 and later, you may notice a slow down when working with significant numbers of resources if you allow Spotlight to index your workspace. To prevent this, start System Preferences, select the Spotlight icon, then the Privacy tab, then click the Add button (“+”) and find your workspace directory in the dialog that appears.
I did this and found my compile times drop significantly. Hope this helps.