Hi,

I was having the same problem with a new install of Eclipse on Ubuntu 7.10 beta.

I was getting an out of memory error as well, and when I didn't get an out of memory error I would get the error the OP was. It stopped after I started running eclipse with these arguments:

Code:
-vmargs -Xmx512m