Chris Newland a écrit :

> 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]>

This pb has been discussed yet.

I'm not using Linux but i remember that it goes around the ulimit parameter to
be set to a value..

Yu can easily find the instruction in the FAQ maybe.

Home this help. JL :O)



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to