Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 9845 invoked from network); 30 Dec 2002 19:53:25 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 30 Dec 2002 19:53:25 -0000 Received: (qmail 8131 invoked by uid 97); 30 Dec 2002 19:54:19 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 8115 invoked by uid 97); 30 Dec 2002 19:54:19 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 8088 invoked by uid 98); 30 Dec 2002 19:54:18 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Subject: Re: reducing tomcat & jasper memory footprint From: Jerome "Lacoste (Frisurf)" To: Tomcat Users List In-Reply-To: <00f001c2b03a$d86d2ae0$59096d50@pc1> References: <00f001c2b03a$d86d2ae0$59096d50@pc1> Content-Type: text/plain; charset=ISO-8859-1 Organization: CoffeeBreaks Message-Id: <1041277891.2174.57.camel@expresso> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 30 Dec 2002 20:51:31 +0100 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Could this be also related to the leaks of the java compiler? Did you try to precompile the JSPs before deploying them (using JSPC) ? Perhaps does that help? Jerome On Mon, 2002-12-30 at 20:37, Julian L�ffelhardt wrote: > Hi, > > I'm using Apache 1.3.26 and 3 tomcat 4.0.4 instances with AJP13 & loadbalancing . > Our application is a CMS where all the published articles are generated offline as JSP-Files, one jsp per article. > > We had hige problems with the memory footprint. Due to the fact that every jsp is generated as a class and there are about 200 new artices per day the permanent segment of the JVM heap gets filled with all the classes, and I get an OutOfMemoryError. > My workaround for now is setting -XX:PermSize and --XX:MapPermSize to higher values, but this just delays application hang-up. > > With 64 megs of permSize our Server had an approx. uptime of 1 day now it's about 3-4 days. > > Is there any way to unload jsp-Files (unload the class) ? > > llap, > julian -- Jerome Lacoste (Frisurf) CoffeeBreaks -- To unsubscribe, e-mail: For additional commands, e-mail: