Ol� Eduardo,

 

Surgiu uma duvida parecida na lista SERVLET-LIST.

 

Julio Cesar

 

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

 

 

-----Mensagem original-----
De: Departamento de Inform�tica - C//C [mailto:[EMAIL PROTECTED]]
Enviada em: quarta-feira, 27 de novembro de 2002 10:59
Para: enterprise-list@soujava.org.br
Cc: java-list@soujava.org.br
Assunto: [java-list] Fw: [enterprise-list] JSP e OutOfMemoryError

 

Pessoal,

 

Desculpem a insist�ncia, mas � que preciso mesmo resolver este problema. Agrade�o antecipadamente,

 

Eduardo

Cheque Cash

Depto. Inform�tica

S�o Paulo - SP

 

----- Original Message -----

Sent: Monday, November 25, 2002 4:47 PM

Subject: [enterprise-list] JSP e OutOfMemoryError

 

Pessoal,

 

Tenho um problema no desenvolvimento de p�ginas JSP utilizando o Jakarta Tomcat 4.0. O servidor cai ap�s a atualiza��o de qualquer classe e de vez em quando ap�s a atualiza��o de p�ginas JSP. Quando uma classe � atualizada, o erro retornado � o seguinte:

 

java.lang.OutOfMemoryError

E quando uma p�gina JSP � atualizada, o erro retornado � este ( a p�gina JSP nem foi compilada ):

 

org.apache.jasper.JasperException: Unable to compile class for JSPThe compiler has run out of memory.  Consider using the "-J-mx" command line option to increase the maximum heap size.

Estamos rodando o Jakarta no Windows 2000, num servidor com 256 MB de RAM. A JVM acusa que ela s� pode alocar no m�ximo 64 MB e quando o servidor cai, destes 64 MB, s� est�o +/- uns 700 KB livres.


Algu�m j� teve este problema e conseguiu resolver? Onde utilizar os argumentos sugeridos pelo Jakarta ( -J-mx ) para aumentar o heap?

 

Desde j� agrade�o,

 

Eduardo

 

Depto. Inform�tica

Cheque Cash

S�o Paulo - SP


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/2002

Responder a