[EMAIL PROTECTED] wrote:
> 
> My system has 1 GB of memory and about 2GB of paging space, so I shouldn't
> have any memory constraints at this point.  I looked back in my logs for
> the past week and I do have a couple of "java.lang.OutOfMemoryError", but
> only about 5 over a 23 hour period.  At the system level I never come close
> to using up my resources I check with vmstat and sar.  So is there a limit
> somewhere about how much memory my system will give to my JVM.  Is it a JVM
> setting?  I'm really leaning toward the number of sockets/connections I
> have getting backed up, but I haven't been able to find any documentation
> on what to set Jserv's properties to allow more sockets.  There are a
> couple of settings in Jserv.proerties and the properties file for my
> servlet zone, but I don't want to change them until I understand how many
> servlets can the defaults handle concurrently.
> Thanks for keeping the suggestions coming Jon, Jean, Lichtner!
> 
Hi,

did you check with top the amount of used memory on your system / httpd
process ?
Is it growing ?
I just (today) fixed a memory leak, and it might be the origin of your
problem.
With top, using a bench client, I could see every httpd growing from 2MB
up to 20Mb (each process !) before dying (with message : Out of Memory).
If this is the case for you (easy to check with top), just pick the new
daily snapshot tomorrow, and tell us.
Also, if not already done, increase the total amount of memory given to
the jvm :
java -ms64m -mx256m ....  (RTFM)

Jean-Luc


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to