Thanks for the suggestion Yoav, I do have AccessLogValve enabled but not reverse lookup. I've changed the Tomcat memory settings in registry for the two services so will see if that at helps the memory problem. But I'd still like to figure out why I'm getting such aggressive logging!
As far as the 1.4.1 I'm glad I'm not using it. It's hard to believe that you can't reuse StringBuffers. Ken -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 9:14 AM To: Tomcat Users List Subject: RE: Out of memory error Howdy, Do you have the reverse lookup enabled in your AccessLogValve (if you have the AccessLogValve enabled at all)? It may be that someone just left a System.out.println or a logger statement of a non-debug priority in that part of the code ;) ;) Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Januski, Ken [mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 01, 2003 6:22 PM >To: Tomcat Users List >Subject: RE: Out of memory error > >Thanks Nikolaos, > >The multiple (100 per minute) mapping server lines occur before the out of >memory error. But I now see that I also get these on days when there is no >memory problem. So I guess they're unrelated. It just seems odd to see so >many of them. > >I'll try the -Xms and -Xmx solutions and see if that helps. As I said it >doesn't happen often but it would be nice to track down the cause (or at >least fix it so it doesn't recur). > >Ken > >-----Original Message----- >From: Nikolaos Giannopoulos [mailto:[EMAIL PROTECTED] >Sent: Tuesday, April 01, 2003 6:07 PM >To: Tomcat Users List >Subject: RE: Out of memory error > > >> -----Original Message----- >> From: Januski, Ken [mailto:[EMAIL PROTECTED] >> >> But no one has answered my original question: Do the 100s of multiple >> "mapping server nnn.nnn.nnn.nn" lines reflect another symptom or the >> possible cause of the memory error? They just look odd to me and so I >> wondered if they might be the cause of the problem. > >Once you hit an java.lang.OutOfMemoryError everything is in an inconsistent >state and I would not be surprised that you get lots of other error >messages >thereafter. > >The important question is are any of these messages appearing *before* the >initial out of memory error or *after* - if the're any before then I would >suggest investigating them otherwise I would guess that fixing your out of >memory error may fix your other error messages. > >--Nikolaos > > >> -----Original Message----- >> From: Jacob Kjome [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, April 01, 2003 5:38 PM >> To: Tomcat Users List >> Subject: RE: Out of memory error >> >> >> >> could be because of this awful bug introduced in j2sdk1.4.1. It >> wasn't in >> j2sdk1.4.0.... >> http://developer.java.sun.com/developer/bugParade/bugs/4724129.html >> >> Jake >> >> At 04:16 PM 4/1/2003 -0600, you wrote: >> >I had the same problem on Redhat 7.1. I tried using the -Xmx and -Xms >> >switches, but nothing seemed to help. I then switched to IBMJava2-14 and >> >it solved the problem. >> > >> >Steve >> > >> >-----Original Message----- >> >From: Darian Shimy [mailto:[EMAIL PROTECTED] >> >Sent: Tuesday, April 01, 2003 1:16 PM >> >To: 'Tomcat Users List' >> >Subject: RE: Out of memory error >> > >> > >> >Set the memory using -Xmx and -Xms. This should take care of the memory >> >problems. >> > >> >If you want to monitor the heap usage, add -verbose:gc >> > >> >-- >> >Darian Shimy >> > >> > > -----Original Message----- >> > > From: Januski, Ken [mailto:[EMAIL PROTECTED] >> > > Sent: Monday, March 31, 2003 12:21 PM >> > > To: Tomcat Users List >> > > Subject: Out of memory error >> > > >> > > >> > > Hi, >> > > >> > > Very occasionally my Tomcat server runs into out of memory >> > > errors. I'ts not >> > > a heavily used server, less than 10 users a day I'd guess on >> > > an Intranet. >> > > But every month or so it runs into memory problems. The >> > > newest ones occurred >> > > yesterday and I didn't hear about them until today. When I >> > > investigated I >> > > found hundreds of these lines repeating themselves in the >> > > catalina log. >> > > >> > > 2003-03-30 22:38:07 StandardEngine[Standalone]: Mapping server name >> > > 'nnn.nnn.nn.nn' >> > > >> > > They were eventually followed by this: >> > > >> > > 2003-03-30 22:38:08 HttpProcessor[80][1] process >> > > java.lang.OutOfMemoryError >> > > >> > > Can anyone tell me whether the first lines indicate a cause >> > > of the out of >> > > memory error or whether they're just another symptom of running out >of >> > > memory? >> > > >> > > Thanks for any ideas, >> > > >> > > Ken >> > > >> > > >> > > >> > > --------------------------------------------------------------------- >> > > 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] >> >> --------------------------------------------------------------------- >> 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] > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]