tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhruva B. Reddy" <>
Subject RE: OutOfMemoryError with Seemingly Plenty of Memory
Date Tue, 27 Jan 2004 16:31:38 GMT
Well, I have made an assumption in most cases.  The OutOfMemoryError is
logged with no timestamp to $CATALINA_HOME/logs/catalina.out.  We have
a script that periodically (every 15 minutes) hits the applications and
notifies us of any error response (either status above 400 or the word
"ERROR" in the content).  When I get such a notification, I immediately
check the log file (catalina.out) for the OutOfMemoryError, and it is
always near or at the bottom of the file.

I know that in and of itself is no indication of when the error
actually occurs.  The applications themselves are set up to use syslog
(through Log4J).  Sometimes the OutOfMemoryError is logged here with a
timestamp, and always occurs within minutes of my notification.

--- "Shapira, Yoav" <> wrote:
> Howdy,
> >Although the possibility of a memory leak (sorry--unintended object
> >retention) has not been completely ruled out (yes, I'm running the
> >applications through a profiler), I'm quite puzzled that this
> problem
> >would occur when, by all indications, memory use is nowhere near the
> >limit.
> How do you know when the OutOfMemoryError occurred?
> Yoav Shapira
> This e-mail, including any attachments, is a confidential business
> communication, and may contain information that is confidential,
> proprietary and/or privileged.  This e-mail is intended only for the
> individual(s) to whom it is addressed, and may not be saved, copied,
> printed, disclosed or used by anyone else.  If you are not the(an)
> intended recipient, please immediately delete this e-mail from your
> computer system and notify the sender.  Thank you.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message