From owner-freebsd-java@FreeBSD.ORG Mon Mar 14 12:49:45 2005 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2423716A4CE for ; Mon, 14 Mar 2005 12:49:45 +0000 (GMT) Received: from lowrider.smega.com (lowrider.smega.com [82.149.226.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id D33E743D46 for ; Mon, 14 Mar 2005 12:49:44 +0000 (GMT) (envelope-from freebja@wie-ich.de) Received: from p5085867c.dip0.t-ipconnect.de ([80.133.134.124] helo=bubu) by lowrider.smega.com with esmtpa (Exim 4.50 (FreeBSD)) id 1DAp0z-000NI3-4a; Mon, 14 Mar 2005 13:49:45 +0100 Message-ID: <004501c52894$785c8f90$16b2a8c0@bubu> From: "Thomas Lange" To: "Mipam" References: <002e01c52891$c2d0a5f0$16b2a8c0@bubu> Date: Mon, 14 Mar 2005 13:50:57 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 cc: freebsd-java@freebsd.org Subject: Re: tomcat50ctl start arguments X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 12:49:45 -0000 > Thanks, so for example i could do: > > > su -f -m www -c "exec /usr/local/jakarta-tomcat5.0/bin/startup.s > h" -Xmx256M >/dev/null && echo -n 'tomcat50' > > Adding -Xmx256M behind the startup statement to make it work? I - quite lamely - put it into "/usr/local/jakarta-tomcat5.0/bin/catalina.sh" CATALINA_OPTS="-server -Xms400m -Xmx700m -Djava.awt.headless=true" It would be best, however, to set it as an environment variable.