|Eclipse java heap allocation [message #548173]
||Tue, 20 July 2010 22:58
Registered: July 2010
I have a problem with creating a large int array.
int solutions = new int;
In Eclipse 3.4.1 with JRE6 compiler reports:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
I have modified eclipse.ini but this has not been effective. Currently eclipse.ini contents are:
C:\Program Files (x86)\Java\jre6\bin\javaw.exe
Hoping someone can help.
|Re: Eclipse java heap allocation [message #548276 is a reply to message #548173]
||Wed, 21 July 2010 10:12
Originally posted by: r.zozmann.exxcellent.de|
it seems to be that in the newest JRE 1.6 update release the declaration
--launcher.XXMaxPermSize... isn't enough. I don't know whether the
launcher has problems to propagate that setting to the VM or the syntax
on calling the VM is changed by Oracle...
Anyway, i have one additional setting in my eclipse.ini:
Am 21.07.2010 00:58, schrieb bobfin:
> I have a problem with creating a large int array.
> int solutions = new int;
> In Eclipse 3.4.1 with JRE6 compiler reports:
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
> I have modified eclipse.ini but this has not been effective. Currently
> eclipse.ini contents are:
> C:\Program Files (x86)\Java\jre6\bin\javaw.exe
> Hoping someone can help.
Powered by FUDForum
. Page generated in 0.02824 seconds