Hi, I use jikes to compile the pages. Since raising the JVM permanent segment size delays the error the problem seems to come from the sheer size of the loaded class files.
So theorectically it shouldn't matter wheter the pages are precompiled or not. Anyway I 'm about to set up a test specifically for this, to measure how many pages can be loaded before an error occurs. llap, julian ----- Original Message ----- From: "Jerome Lacoste (Frisurf)" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, December 30, 2002 8:51 PM Subject: Re: reducing tomcat & jasper memory footprint > 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) <[EMAIL PROTECTED]> > CoffeeBreaks > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
