grprakash / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

When beginning the GWTCompiler generates error: out of memory #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am using Eclipse3.3 and Cypal Studio For GWT-RC4.
The error happens when I click on the Project menu / Clean ...
During the procedure generates the error: Exception in thread "main"
java.lang.OutOfMemoryError: Java heap space

My computer has 1 gb of ram and the operating system is the Ubuntu 7.10

I wonder if there is some way to specify the size of virtual memory to this
process? Or any other solution.

Thanks.

Original issue reported on code.google.com by rodrigop...@gmail.com on 23 Jan 2008 at 4:45

GoogleCodeExporter commented 9 years ago
I am also facing the same problem. I increased my eclipse's jvm memory but 
result is 
the same.

Original comment by amersoha...@gmail.com on 24 Jan 2008 at 1:29

GoogleCodeExporter commented 9 years ago
I ran into this same issue with gjt compiler, I switched java to sun-java and 
the 
error went away.

the specific issue for me was related to a for-loop.

Original comment by matt.and...@gmail.com on 26 Jan 2008 at 10:17

GoogleCodeExporter commented 9 years ago
Ditto here.  Doesn't seem to be a way to increase the memory available to the 
gwt
compiler jre

Original comment by tobytray...@gmail.com on 28 Jan 2008 at 5:06

GoogleCodeExporter commented 9 years ago
Open Run->Open Run Dialog. In your GWT Hosted mode configuration, go to 
parameters
page and add the memory parameters (-Xmx, ...) in the VM Options. It should 
work. If
not add those parameters in the Preferences->Java->Installer 
JREs->Edit->Default VM
Arguments. It should work

Original comment by grprakash on 29 Jan 2008 at 10:09