Return-Path: Delivered-To: apmail-jakarta-turbine-user-archive@www.apache.org Received: (qmail 29225 invoked from network); 27 Nov 2006 13:53:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 13:53:06 -0000 Received: (qmail 13111 invoked by uid 500); 27 Nov 2006 13:53:11 -0000 Delivered-To: apmail-jakarta-turbine-user-archive@jakarta.apache.org Received: (qmail 13044 invoked by uid 500); 27 Nov 2006 13:53:10 -0000 Mailing-List: contact turbine-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Turbine Users List" Reply-To: "Turbine Users List" Delivered-To: mailing list turbine-user@jakarta.apache.org Received: (qmail 12744 invoked by uid 99); 27 Nov 2006 13:53:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 05:53:06 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [217.160.90.92] (HELO mail.ritso.de) (217.160.90.92) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 05:52:54 -0800 Received: from mail.ritso.de (ritso.de [217.160.90.92]) by mail.ritso.de (Postfix) with SMTP id 0D1D624C13B for ; Mon, 27 Nov 2006 14:52:19 +0100 (CET) From: thomas@ritso.de To: turbine-user@jakarta.apache.org Subject: Re: AW: how to remove OutOfMemoryError Date: Mon, 27 Nov 2006 14:52:06 +0200 Content-Type: text/plain; charset=iso-8859-1 X-Mailer: Null Webmail / 0.7.1 Message-Id: <20061127135219.0D1D624C13B@mail.ritso.de> X-Virus-Checked: Checked by ClamAV on apache.org 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?= 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