You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jayson Enriquez <JE...@smud.org> on 2007/03/20 17:02:24 UTC
RE: Memory (leak) continues to increase (Tomcat5.exe)
The issue continues. I have updated to JDK 1.4.2_13 and installed fixes
from Documentum. Has anybody come across this issue? Any ideas?
Thank you
Jayson
-----Original Message-----
From: Jayson Enriquez [mailto:JEnriqu@smud.org]
Sent: Tuesday, March 13, 2007 9:52 AM
To: users@tomcat.apache.org
Subject: Memory continues to increase (Tomcat5.exe)
Hi -
I support an application called EDMS (Electronic Documentum Management
System). To run this we must utilize Tomcat to launch JVM. I restart
Tomcat to release memory usage on a daily basis. (Task Manager) We start
at 260mb and by the end of the day we are at 900+mb. This depends on how
many users are connected and rendering jobs.
Is there a permanent fix to keep tomcat5.exe memory usage stable? The
memory increase can cause our server to error out on 'lock'. Please
assist.
I've read article in http://tomcat.apache.org/faq/memory.html#why but
did not help.
System config>:
Tomat5 - 5.0.28 server
Java VM - j2sdk1.4.2
OS - win2k
Mem - 3gb
Processors - 4
Service Pack - SP4
Environment - production
Thank you
________________________________
Jayson Enriquez CHDP
Sacramento Municipal Utility District
Business Technology / EDM Support
916 . 732 . 6977
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Memory (leak) continues to increase (Tomcat5.exe)
Posted by Tim Funk <fu...@joedog.org>.
Does this use lots of LARGE jsps where the JSP's use tags which use many
BodyContent objects instead of flushing directly to stream? In this
case, tomcat will allocate a buffer and keep it, in anticipation that
the same buffer size will be used in the future. [Some call this a leak,
others an optimization, YMMV]
If this is your issue, then you are out of luck for 5.0.28. But there is
a patch for the 5.5 series. You could always patch BodyContentImpl.java
yourself and see what happens. Here's a link:
http://svn.apache.org/viewvc/tomcat/jasper/tc5.5.x/src/share/org/apache/jasper/runtime/BodyContentImpl.java?r1=306949&r2=358036&diff_format=h
-Tim
Jayson Enriquez wrote:
> The issue continues. I have updated to JDK 1.4.2_13 and installed fixes
> from Documentum. Has anybody come across this issue? Any ideas?
>
> Thank you
> Jayson
>
> -----Original Message-----
> From: Jayson Enriquez [mailto:JEnriqu@smud.org]
> Sent: Tuesday, March 13, 2007 9:52 AM
> To: users@tomcat.apache.org
> Subject: Memory continues to increase (Tomcat5.exe)
>
> Hi -
>
> I support an application called EDMS (Electronic Documentum Management
> System). To run this we must utilize Tomcat to launch JVM. I restart
> Tomcat to release memory usage on a daily basis. (Task Manager) We start
> at 260mb and by the end of the day we are at 900+mb. This depends on how
> many users are connected and rendering jobs.
> Is there a permanent fix to keep tomcat5.exe memory usage stable? The
> memory increase can cause our server to error out on 'lock'. Please
> assist.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Memory (leak) continues to increase (Tomcat5.exe)
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jayson Enriquez [mailto:JEnriqu@smud.org]
> Subject: RE: Memory (leak) continues to increase (Tomcat5.exe)
>
> The issue continues. I have updated to JDK 1.4.2_13 and
> installed fixes from Documentum.
The problem is almost 100% guaranteed to be in the application, not in
Tomcat or the JRE. Try running a profiler and find out what kind of
objects are consuming the heap and who's allocating them. Also turn on
-verbose:gc to get some idea of how memory use is increasing from the
JVM's point of view.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org