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]

Reply via email to