turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tho...@ritso.de
Subject Re: AW: how to remove OutOfMemoryError
Date Mon, 27 Nov 2006 12:52:06 GMT
Hello,

had a few weeks ago the same problem, and can provide some additional info.

The -Xms param tells jvm the initial memory, the -Xmx tells the maximum
memory jvm can allocate. Default for both is for the sun vm 64M.

ms param must be less or equal mx, and mx may not be higher then half of your
system memory.

The easiest way to set this in tomcat is in CATALINA_OPTS in your catalina.sh

Greets
Thomas Pfäfflin

--- =?iso-8859-1?Q?J=FCrgen_Hoffmann?= <jh@byteaction.de> wrote:
> Hi Kinchit,
> 
> i have no information about your servlet container, but i would suggest >
to
> increase the memory the jvm may use by adding the following parameter >
when
> starting the servlet container 
> 
> -XmxnnnM -XmsnnnM
> 
> Where "nnn" should be an Integer representing RAM that can be assigned > to
the
> process. I.E. that is available.
> 
> HTH
> 
> Juergen
> 
> -----Urspr|ngliche Nachricht-----
> Von: kinchit talwar [mailto:kinchit_talwar@yahoo.com] 
> Gesendet: Montag, 27. November 2006 11:12
> An: turbine-user@jakarta.apache.org
> Cc: turbine-user-help@jakarta.apache.org
> Betreff: how to remove OutOfMemoryError
> 
> Hi ...
> 
>   i m getting following error
> org.apache.turbine.util.TurbineException: Error rendering Velocity
> template: /controls/html/jetspeed.vm: Invocation of method
> 'getContent'
> in  class =
> org.apache.jetspeed.portal.security.portlets.CacheableStateful
> PortletWrapper threw exception class java.lang.OutOfMemoryError : null
> 
>   in jetspped
> plz help me ..
> Thanks in advance ..
> 
>   Kinchit
> 
> 
> Kinchit Talwar
>  
> ---------------------------------
> Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message