The Developers swear they do not use large collection objects.  I also
noticed that the Garbage collection times start to get to be over a
second or to before they die.  Another strange thing is that we have two
tomcat instances running on separate servers and they both die at the
same time with the same error (Exception java.lang.OutOfMemoryError:
requested 24 bytes forpromotion. Out of swap space?).  When I run top it
shows that there is over 14 Gig free of swap.  Is there a swap setting
for tomcat?  \

Any clues would be extremely helpful.

Thanks,

____________________________


-----Original Message-----
From: Peter Guyatt [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 24, 2003 10:49 AM
To: Tomcat Users List
Subject: RE: Tomcat Dies

Hi There,

        It looks like there is a memory lieak in your code, do you have
any
listeners, and if so are you storing the session objects in a collection
and
not removing them from the collection when they are being invalidated.

Thanks

Pete

-----Original Message-----
From: Rob Wichterman [mailto:[EMAIL PROTECTED]
Sent: 24 November 2003 15:44
To: 'Tomcat Users List'
Subject: Tomcat Dies


I have two tomcat instances each on a separate folder.  My problem is
that after a few days we get one the following errors in Catalina.out

1.      Exception java.lang.OutOfMemoryError: requested 24 bytes for
promotion. Out of swap space?

2.  SEVERE: Caught exception executing
[EMAIL PROTECTED], terminating thread
           java.lang.OutOfMemoryError

Any help would be appreciated.

Thanks,




____________________________




---------------------------------------------------------------------
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