Funny goings on with Eclipse on Leopard
March 28, 2008
I’ve just copied my system drive over to a new hard disk and re-booted from the new image and suddenly Eclipse will no longer start up. With some experimenting, I’ve found that using -Xmx768M was causing the problem. If I reduce this to -Xmx512M then it runs just fine.
The thing is, that the only change to the system was booting from a new drive. There’s plenty of memory free but it seems that the JVM is no longer able to allocate more than 512M to the heap. Go figure.