Have you tried to expand the java heap size?
I start ProjextX with at least 512MB since I got a similar error:

javaw.exe -Xmx512m -jar ProjectX-0.90.4.jar