Increasing the memory will help, but it sounds as though your code is
leaking memory.

> -----Original Message-----
> From: Yedil Workeneh [SMTP:[EMAIL PROTECTED]]
> Sent: 26 November 2002 09:44
> To:   [EMAIL PROTECTED]
> Subject:      Re: java.lang.OutOfMemoryError
>
> here is an example of what you could do.  It depends on the current
> parameter of the JVM of course:
> 1.      Go to local machine>system>current control set>services>Apache
> Tomcat>Parameters
>
> 2.      Change JVM Option Count from 2 to 4
>
> 3.      Change JVM Option Number 0 to 2
>
> 4.      Change JVM Option Number1 to 3
>
> 5.      Create string value JVM Number 0 with value of -Xms768m
>
> 6.      Create string value JVM Number 1 with value of -Xms768m
>
>       -----Original Message-----
>       From: Yedil Workeneh [mailto:[EMAIL PROTECTED]]
>       Sent: Tuesday, November 26, 2002 1:08 PM
>       To: [EMAIL PROTECTED]
>       Subject: Re: java.lang.OutOfMemoryError
>
>
>       Go into the registry where Tomcat is running and increase the memory
> of the JVM
>
>               -----Original Message-----
>               From: Anders Jørvad (RWDK)
> [mailto:[EMAIL PROTECTED]]
>               Sent: Tuesday, November 26, 2002 3:26 AM
>               To: [EMAIL PROTECTED]
>               Subject: java.lang.OutOfMemoryError
>
>
>               Hi everyone,
>
>               I have som problems with af servlet that is running on
> Apache Tomcat 4.0
>               when i run the servlet more then 2-3 times i get an
> java.lang.OutOfMemoryError
>
>               How can i fix this problem?
>
>               Thanx for your time.
>
>               Best regards
>
>               Anders Joervad
>
--

It is the strict policy of Truworths that its e-mail facility and all
e-mail communications emanating therefrom, should be utilised for
business purposes only and should conform to high professional and
business standards.   Truworths has stipulated certain regulations in
terms whereof strict guidelines relating to the use and content of
e-mail communications are laid down. The use of the Truworths e-mail
facility is not permitted for the distribution of chain letters or
offensive mail of any nature whatsoever.   Truworths hereby distances
itself from and accepts no liability in respect of the unauthorised
use of its e-mail facility or the sending of e-mail communications
for other than strictly business purposes.   Truworths furthermore
disclaims liability for any  unauthorised instruction for  which
permission was not granted.    Truworths Limited accepts no liability
for any consequences arising from or as a result of reliance on this
message unless it is in respect of bona fide Truworths business for
which proper authorisation has been granted.

Any recipient of an unacceptable communication, a chain letter or
offensive material of any nature is requested to notify the Truworths
e-mail administrator ([EMAIL PROTECTED]) immediately in order that
appropriate action can be taken against the individual concerned.

___________________________________________________________________________
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