I had the same problem with jdk 1.3.1 and 1.4.0 on Windows 2000 (100 % CPU usage with no result). I'm not sure wether this was due to the memory leak or if there are other problems. (I tried out different combinations of Tomcat, Cocoon and Java Versions. Since I use Tomcat 3.2.4, Cocoon 2.0.1 and jdk 1.3.1_02 everything seems to work well.)
> May i noe this memory leak problem occurs at which OS? or is it just > linux? > -----Original Message----- > From: Chris Newland [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 14, 2002 11:51 PM > To: Tomcat Users List > Subject: RE: 100% cpu on one of two processor > Hi, > There is a known memory leak in javac (used to compile the JSP pages). > This > could be causing your Java VM to use up nearly all of its memory and start > to perform heavy garbage collection. > If you use the -Xms and -Xmx JVM switches (to set the initial and maximum > heap sizes respectively) then your server should run for longer but will > eventually run out of memory if it is compiling a lot of JSPs. I think it > is > possible to use a different compiler (such as Jikes or Pizza). > e.g. > java -Xms64M -Xmx256M <classname> > (or as much memory as you want to allocate) > You can set the Tomcat JVM sizes using (in catalina.sh) (this is for > Tomcat > 4) > CATALINA_OPTS=" -Xms64M -Xmx256M" > Hope this helps, > Best Regards, > Chris Newland >> -----Original Message----- >> From: Guillaume Radenkovic [mailto:[EMAIL PROTECTED]] >> Sent: 14 March 2002 15:36 >> To: [EMAIL PROTECTED] >> Subject: 100% cpu on one of two processor >> >> >> My configuration : >> >> Linux Redhat 7.1 >> Tomcat 3.2.4 >> PostgreSQL 7.0.x >> >> Sometimes, after some time, when JSP compiles on the server, this >> on can't >> display the page and on of the two cpu going to 100%. >> This happens on any JSP page . >> >> Need help ! >> >> >> -- >> To unsubscribe: <mailto:[EMAIL PROTECTED]> >> For additional commands: <mailto:[EMAIL PROTECTED]> >> Troubles with the list: <mailto:[EMAIL PROTECTED]> >> >> > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>