You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Darian Shimy <DS...@24hourfit.com> on 2003/04/01 21:15:53 UTC

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