Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 60379 invoked from network); 19 Nov 2004 06:21:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Nov 2004 06:21:32 -0000 Received: (qmail 95649 invoked by uid 500); 19 Nov 2004 06:21:27 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 95611 invoked by uid 500); 19 Nov 2004 06:21:27 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 95598 invoked by uid 99); 19 Nov 2004 06:21:27 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of DHohls@csir.co.za designates 146.64.10.166 as permitted sender) Received: from [146.64.10.166] (HELO wabe.csir.co.za) (146.64.10.166) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 18 Nov 2004 22:21:25 -0800 Received: from cs-emo.csir.co.za (cs-emo.csir.co.za [146.64.10.40]) by wabe.csir.co.za (8.12.5/8.12.5) with ESMTP id iAJ6KmBl007129 for ; Fri, 19 Nov 2004 08:20:48 +0200 Received: from GW-EMO-MTA by cs-emo.csir.co.za with Novell_GroupWise; Fri, 19 Nov 2004 08:20:48 +0200 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.2 Date: Fri, 19 Nov 2004 08:20:34 +0200 From: "Derek Hohls" To: Subject: Re: Pesky memory problems (Tomcat/WindowsXP) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CSIR-MailScanner-Information: Please contact sys-admin at csir dot co dot za for more information X-CSIR-MailScanner: Found to be clean X-MailScanner-From: dhohls@csir.co.za X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks, I have Tomcat started as a service under WindowsXP; how would I be able to tell whether or not this is using catalina.bat ? Derek >>> f.jannin@free.fr 2004/11/18 04:38:02 PM >>> Hi Derek Derek Hohls wrote: >I know there have been a number of threads on this topic; but >I am obviously missing something, well, obvious! > >I have set the CATALINA_OPTS variable as follows: > >-Xms64m -Xmx256m -Dfile.encoding=ISO-8859-1 >-DproxySet=true -DproxyHost=http://my-proxy.com -DproxyPort=3128 > >Cocoon runs fine for a while, then the error message: >----- Root Cause ----- >java.lang.OutOfMemoryError > >appears. The memory monitor *appears* to show >Tomcat using about 110M of memory... well within the >256M limit I would have thought? > > > The same happende to me.. Depending on the system you run Tomcat on, setting CATALINA_OPTS can be overrided by catalina.bat or catalina.sh . My last investigating about this matter revealed different behaviours depending on the system. In jakarta-tomcat-5.0.28, while under Windows you can add options in catalina.bat like this : set CATALINA_OPTS=-Xms256m -Xmx512m -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 under Linux catalina.sh seems to behave differently, i.e it seems to actually use CATALINA_OPTS as it comes from environment variable (I'm not a good reader of such messy scripts anyway). I suggest you try to locate where your container is actually started and whether CATALINA_OPTS is redefined or used as it comes. Good luck --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org