I have been using Tomcat 6.0 since it was released and I would say that it
is much better
that Tomcat 5.x.  As addressed in its release document, besides support
Servlet 2.5 and
JSP2.1, Tomcat 6.0 made following improvements upon Tomcat 5.5:

   - Memory usage optimizations
   - Advanced IO capabilities
   - Refactored clustering

Not sure whether you turned on Security Manager for you Tomcat 5.0, as I
know there is
a memory leak related defect for Tomcat 5.0 when Security Manager is turned
on and has
been fixed since Tomcat 5.5.3 (Tomcat 6.0 has it fixed too). There are other
memory leaks
related defects that have been fixed since Tomcat 5.0, please refer to bug
report for more
details.

Make sure you have a up to date JDK when you using Tomcat 6.0 since there
are some
NIO send file related bugs in this release for Linux based systems, or you
can disable
send file behavior in the Connector if you JDK is not up to date.


Jiansen Niu






On 9/25/07, JacquiYan <[EMAIL PROTECTED]> wrote:
>
>
> Dear Mark:
> How about Tomcat 6.0?The lastest version is 6.0.Had the memory leaks been
> fixed in Tomcat6.0?And further more,is tomcat6.0 a standy version?
>
>
>
> Mark Thomas-15 wrote:
> >
> > Tomcat 5.0.x has some memory leaks but as far as I recall they were
> > mostly related to context reload.
> >
> > If you are reloading your app, I'd suggst an upgrade to the latest
> > 5.5.x. If you are not reloading, then your app probably has a memory
> > leak. I'd suggest using a profiler such as YourKit to try and track it
> > down.
> >
> > Mark
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/tomcat5.1-out-of-memory-for-swap-space-not-released%21-tf4513476.html#a12873626
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to