GWT/Eclipse out of memory nightmare

Hi all, I am trying to run the demo vaadin application using Eclipse (book of vaadin section 2.3.3), but when I try to launch the GWT Dev Mode and run the Calc app, I get an out of memory error (despite setting the VM arg -Xms128M -Xmx1024M)…can anyone help?

Which process runs out of memory? The GWT development mode server, the Vaadin application or Eclipse itself? At what time?

Maybe the problem is not with heap but with the permanent generation size, especially if you are modifying classes frequently while debugging something. You could try e.g. “-XX:MaxPermSize=384m”.

thanks very much Henri, you’re a champion! it worked! (btw, it was the GWT development mode server)