List Info

Thread: Is forrest heaps size limited?




Is forrest heaps size limited?
country flaguser name
Spain
2007-09-18 02:45:10
Hi all,

I am trying to set forrest heaps size up, but with limited
suggest.

forrest.jvmargs=--Xms256M -Xmx1024M
-Djava.awt.headless=true

is failing with:
    
Error occurred during initialization of VM
Incompatible initial and maximum heap sizes specified

BUILD FAILED
/home/thorsten/src/apache/forrest/trunk/main/forrest.build.x
ml:433: Java
returned: 1


But with 
forrest.jvmargs=-Xms64M -Xmx256M -Djava.awt.headless=true 

It is working. Seems like the ms cannot do more then 100M
since 128M is
failing as well.


Somebody an idea what the problem can be?

salu2
-- 
Thorsten Scherler                                
thorsten.at.apache.org
Open Source Java                      consulting, training
and solutions


RE: Is forrest heaps size limited?
country flaguser name
Australia
2007-09-18 07:07:51
Hi Thorsten.

> -----Original Message-----
> From: Thorsten Scherler
[mailto:thorsten.scherler.extjuntadeandalucia.es]
> Sent: Tuesday, 18 September 2007 3:45 PM
> To: userforrest.apache.org
> Subject: Is forrest heaps size limited?
> 
> Hi all,
> 
> I am trying to set forrest heaps size up, but with
limited suggest.
> 
> forrest.jvmargs=--Xms256M -Xmx1024M
-Djava.awt.headless=true
> 
> is failing with:
> 
> Error occurred during initialization of VM
> Incompatible initial and maximum heap sizes specified

This is because you haven't increased forrest.maxmemory to
suit.

Try increasing forrest.maxmemory to 256m then try your above
256/1024
should work fine.

Gav...

> 
> BUILD FAILED
>
/home/thorsten/src/apache/forrest/trunk/main/forrest.build.x
ml:433: Java
> returned: 1
> 
> 
> But with
> forrest.jvmargs=-Xms64M -Xmx256M
-Djava.awt.headless=true
> 
> It is working. Seems like the ms cannot do more then
100M since 128M is
> failing as well.
> 
> 
> Somebody an idea what the problem can be?
> 
> salu2
> --
> Thorsten Scherler                                
thorsten.at.apache.org
> Open Source Java                      consulting,
training and solutions
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.487 / Virus Database: 269.13.22 - Release
Date: 9/17/2007
> 12:00 AM

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )