Actually, this is 100% servlet-powered... no JSP pages are used.  Anyone
else know of any issues?

Mark

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to