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?= <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > Gesendet: Montag, 27. November 2006 11:12 > An: [email protected] > Cc: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
