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
> 

Reply via email to