----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Possible cause :

I have experienced OOM (out of memory) problems when say, the servlets 
loaded on the servlet engine have database connects and handle resultsets. 
We should always explicitly close the Statement and Resultset objects once 
we are done with the data retrieval.

If not coded, multiple invocations of the servlet cause memory hogging.

Hope this helps.



>From: "Aalok Kaushish" <[EMAIL PROTECTED]>
>Reply-To: "Java Apache Users" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: JServ out of memory Problem
>Date: Mon, 10 Jan 2000 14:17:04 PST
>
>----------------------------------------------------------------
>BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
>WHEN YOU POST, include all relevant version numbers, log files,
>and configuration files.  Don't make us guess your problem!!!
>----------------------------------------------------------------
>
>Hi Everybody,
>
>I am using Jserv 1.1b3 on Linux Redhat 6.1 with apache
>Everything was running fine and when I started load testing then after
>sometime it crashed.
>
>the error in mod_jserv.log is
>
>[10/01/2000 17:12:43:337] (EMERGENCY) ajp12: can not connect to host
>127.0.0.1:8007
>[10/01/2000 17:12:43:337] (EMERGENCY) ajp12: connection fail
>[10/01/2000 17:12:43:337] (ERROR) an error returned handling request via
>protocol "ajpv12"
>
>The error in jserv.log is
>
>[07/01/2000 00:55:14:759 EST] ApacheJServ/1.1b3: An error occurred 
>listening
>to the port: java.lang.OutOfMemoryError
>
>Can anybody explain what is happening?
>
>Thanks in advance
>Aalok
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>
>--
>--------------------------------------------------------------
>Please read the FAQ! <http://java.apache.org/faq/>
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Archives and Other:  <http://java.apache.org/main/mail.html>
>Problems?:           [EMAIL PROTECTED]
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
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