In eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx720m
Running examples:
Right-Click edu.northwestern.at.morphadorner.examples.PosTagString -> Run As -> Run Configurations -> Java Application->New
In Arguments Tab->Program arguments add the text to tag:
"I spent all day trying to figure out Eclipse java.lang.OutOfMemoryError: Java heap space!"
VM arguments add:
-Xms512m -Xmx1024m