On Tue, 2007-09-18 at 20:07 +0800, Gav.... wrote:
> Hi Thorsten.
>
> > -----Original Message-----
> > From: Thorsten Scherler [mailto:thorsten.scherler.ext@xxxxxxxxxxxxxxxxxxx]
> > Sent: Tuesday, 18 September 2007 3:45 PM
> > To: user@xxxxxxxxxxxxxxxxxx
> > 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.
>
Hmm, cheers.
It is a bit confusing to define 2 different properties for that.
forrest.jvmargs=-Xms256M
forrest.maxmemory=1024M
salu2
> Gav...
>
> >
> > BUILD FAILED
> > /home/thorsten/src/apache/forrest/trunk/main/forrest.build.xml: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
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
|