|
Re: Eclipse java heap allocation [message #548210 is a reply to message #548173] |
Wed, 21 July 2010 06:19 |
|
Hi Bobfin,
How is this related to Buckminster?
- thomas
On 07/21/2010 12:58 AM, bobfin wrote:
> Hi,
> I have a problem with creating a large int array.
> int[] solutions = new int[50000000];
> 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:
>
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256M
> -framework
> plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> C:\Program Files (x86)\Java\jre6\bin\javaw.exe
> -Xms1024m
> -Xmx1024m
>
> Hoping someone can help.
>
>
|
|
|
Re: Eclipse java heap allocation [message #548276 is a reply to message #548173] |
Wed, 21 July 2010 10:12 |
Eclipse User |
|
|
|
Originally posted by: r.zozmann.exxcellent.de
Hi Bobfin,
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:
-XX:MaxPermSize=256M
(after -Xmx1024m).
Regards
Ralf
Am 21.07.2010 00:58, schrieb bobfin:
> Hi,
> I have a problem with creating a large int array.
> int[] solutions = new int[50000000];
> 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:
>
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256M
> -framework
> plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> C:\Program Files (x86)\Java\jre6\bin\javaw.exe
> -Xms1024m
> -Xmx1024m
>
> Hoping someone can help.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02398 seconds