I've attached an example project, as well as a tiff of the progress bar of the indexing, and the log file from eclipse that shows a number of scala related errors, and ultimately the OutOfMemeory error.
I imported the project into eclipse, opened Example.java, put the cursor just before the open parenthesis of new Example() on line 4, and pressed Ctrl-Space to bring up completions. Because I've given Eclipse 4 gig of memory, it ultimately took about 15 minutes for it to run out of memory and crash.
Here is my eclipse.ini:
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=512m
-Xms2048m
-Xmx4096m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
Any ideas on how to prevent this would be welcome.
Thanks!
Craig