instead of typing
java -jar orion.jar
at the command line to start orion, you could experiment with
java -Xms128m -Xmx256m -jar orion.jar
This increases the heap size. The 128 is the initial size, the 256 is the
maximum size.
The first number could be something like current free memory, and the second
one could be something like total memory.
----- Original Message -----
From: "Puthezhath, Rajeev (TWII Boston)" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 11:28 PM
Subject: RE: java.lang.OutOfMemoryError;
> Sorry.I didnt get what you meant.could you please explain
>
> Thanks
> Rajeev
>
> -----Original Message-----
> From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 4:26 PM
> To: Orion-Interest
> Subject: RE: java.lang.OutOfMemoryError;
>
>
> inline
>
> > -----Original Message-----
> > From: Puthezhath, Rajeev (TWII Boston) [mailto:[EMAIL PROTECTED]]
> > Sent: Viernes, 08 de Junio de 2001 14:42
> > To: Orion-Interest
> > Subject: java.lang.OutOfMemoryError;
> >
> >
> > Hi ,
> >
> > We get java.lang.OutOfMemoryError; on production server
> > frequetly.I
> > know this problem was discussed in this list before. I
> > implemented all the
> > sugestions in this mailing list but still the error keeps on
> > coming .I would
> > like to know the following
> >
> > 1) As an answer to the above mentioned problem I saw a
> > sugestion in
> > this mailing list to limit the # of instances by adding max-instances
> > attribute to orion-ejb-jar.xml which would force orion to
> > passivate less
> > used beans.I downloaded orion 1.5.2 and set the same.But observed that
> > passivation is never called. Is there a way to make sure that orion
> > passivates beans which are not used .
> >
> > 2) Some people have mentioned increasing the memory.
> > Has any body
> > tried this solution and i would like to know whether the problem got
> > solved.How can I increase the memory ?
>
>
> first, by hardware (buy some chips), secondly, by specifying a
> minimun/maximun heap size of the JVM when you invoke it
> these are the ones I use (W2K, Sun's JVM 1.3.0)
>
> -Xms128m (minimun heap size 128 MB)
> -Xmx320m (maximun heap size 320 MB)
>
>
> >
> > 3)Has anybody solved this problem ?
>
> No. There�s always a limit to the amount of memory available on any given
> system ;-)
> Let's hope that(buggy orion code) gets fixed soon- don't forget to cast
your
> vote on Bugzilla, that is, if vote casting is finally enabled
>
> >
> > Any sugestions
> >
> > Thanks in advance
> >
> > Regards
> >
> > Rajeev
> >