you can configure some JVM parameter in jserv.properties, such as

(in JDK116_v6)

wrapper.bin.parameters=-ms30m -mx50m

or  (in JDK1.2)

wrapper.bin.parameters=-Xms30m -Xmx50m

to supply JVM enough stack memory

regards,
Frankie
http://www.myweb.com.cn

----- Original Message -----
From: Constantin Nickonov <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 25, 2000 5:36 AM
Subject: Re: OutOfMemory in linux


> I also have this problem on a regular basis - every few days. The Apache JServ
> is smart enough to reload the servlet when it crashes, but there has to be a
> better way. My guess is that it's a memory leak, but I would like to hear about
> any experience and/or theories on the matter.
>
> Here's the entry from Apache's error_log:
>
> | java.lang.OutOfMemoryError
> |         at org.apache.jserv.JServConnection.sendHttpHeaders(Compiled Code)
> |         at org.apache.jserv.JServConnection.processRequest(Compiled Code)
> |         at org.apache.jserv.JServConnection.run(Compiled Code)
> |         at java.lang.Thread.run(Compiled Code)
>
> Thanks in advance for any insight from the list.
>
> Constantin
> ---
> Naveen Kumar Reddy K wrote:
>
> > Hi,
> > I have a problem ,
> >     i am using jdk1.2 , jsdk2.0, JDBC 2.0, apache web server and Linux OS
> > for
> > my project. if i work for some 45 min continously i am getting INTERNAL
> > SERVER ERROR
> > i don't know whether its a problem with my servlet or with the JVM used by
> > linux.
> > when i see the log file its giving OutOfMemory.
> > But as far as i know java doesn't have memory leakage.
> > Please let me know what may be the problem. its urgent
> >
> > advance thanks,
> > Naveen
> >
> > ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to