----- Original Message -----
From: Rodrigo Zerlotti <[EMAIL PROTECTED]>
To: JServ Apache <[EMAIL PROTECTED]>
Sent: Wednesday, June 16, 1999 10:37 PM
Subject: out of memory...


> Hi,
>    does anyone have an idea on how to avoid these errors?
>
> From jserv.log
>
> [15/06/1999 13:19:02:492] (ERROR) ajp11: Servlet Error:
> java.lang.OutOfMemoryError: :
> [15/06/1999 13:19:02:492] (ERROR) an error returned handling request via
> protocol "ajpv11"
> [16/06/1999 07:10:42:345] (ERROR) ajp11: Servlet Error:
> java.lang.OutOfMemoryError: :
> [16/06/1999 07:10:42:345] (ERROR) an error returned handling request via
> protocol "ajpv11"
> [16/06/1999 09:27:23:568] (ERROR) ajp11: Servlet Error:
> java.lang.OutOfMemoryError: :
> [16/06/1999 09:27:23:569] (ERROR) an error returned handling request via
> protocol "ajpv11"
> [16/06/1999 09:52:12:028] (ERROR) ajp11: Servlet Error:
> java.lang.OutOfMemoryError: :
> [16/06/1999 09:52:12:028] (ERROR) an error returned handling request via
> protocol "ajpv11"

I had the same thing today when stress-testing my servlet.

You have to greatly reduce the maximum number of Apache instances, which can
be done with the config-option "MaxClients" in httpd.conf. I found out 15 to
be the maximum for my 64 MB 350 MHz Pentium II system.

- Andreas




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

Reply via email to