tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Pease" <mpe...@chartermi.net>
Subject Re: Memory Woes
Date Wed, 02 Apr 2003 01:39:07 GMT
Jake - you are a genius!  I reverted back to 1.4.0_03 and the memory leak
problem seems to have gone away.  I am heavily dependent on StringBuffers
for generating XML, so this bug was really causing problems.

Thanks for your time!
Mark

----- Original Message -----
From: "Jacob Kjome" <hoju@visi.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, March 31, 2003 11:28 AM
Subject: Re: Memory Woes


>
> Possibly this StringBufffer.toString() memory leak bug in j2sdk1.4.1?
What
> JDK do you use?  j2sdk1.4.0 doesn't suffer from this issue...
> http://developer.java.sun.com/developer/bugParade/bugs/4724129.html
>
> Jake
>
> At 03:05 PM 3/30/2003 -0500, you wrote:
> >Actually, this is 100% servlet-powered... no JSP pages are used.  Anyone
> >else know of any issues?
> >
> >Mark
> >
> >----- Original Message -----
> >From: <mapease@idraprince.com>
> >To: <tomcat-user@jakarta.apache.org>
> >Sent: Friday, March 28, 2003 8:17 AM
> >Subject: Memory Woes
> >
> >
> >Hello,
> >
> >Has anyone had any memory issues when running Tomcat in a production
> >environment where it stays up for weeks?  I have a webapp that is fairly
> >intense, using the Struts framework (which is great, by the way!)  with
> >streaming data to sockets and database logging to mySQL.  I have several
of
> >these apps running in one Tomcat installation.
> >
> >My problem is that memory usage keeps steadily creeping up on me until I
> >start
> >getting the dreaded java.lang.OutOfMemoryError (or something like that).
> >
> >I bumped up the memory settings for the JVM memory settings, which simply
> >delays the problem, but it still happens. (-Xmx... )
> >
> >I have also profiled the application, and found that after garbage
> >collection
> >all of my objects go back to the original usage levels (as far as
> >instances). None of them are continually appending to a string or
anything
> >like that... mainly just state information.
> >
> >I'm not sure where to go from here - having to occasionally restart
Tomcat
> >once a month is not a workable solution for me.
> >
> >Any advice would be GREATLY appreciated!
> >
> >Mark
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message