tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darian Shimy <DSh...@24hourfit.com>
Subject RE: Out of memory error
Date Tue, 01 Apr 2003 19:15:53 GMT
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:kjanuski@phillynews.com] 
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message