I put the java_opts at the beginning of my startup.bat
set JAVA_OPTS= -Xms"40m" -Xmx"1536m"

-----Message d'origine-----
De : Gunnar Pörschke [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 2 juillet 2004 08:35
À : 'Tomcat Users List'
Objet : AW: How to increase memory


Where do I have to add this? Also in the catalina.bat?
I tested set CATALINA_OPTS=%CATALINA_OPTS% -Xms1024m -Xmx2048m in
Catalona.bat as mentioned from Thilo Krawietz' email.

Still it seems to be very slow.

Thank you

Gunnar

-----Ursprüngliche Nachricht-----
Von: alu, artifex [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 1. Juli 2004 16:59
An: Tomcat Users List
Betreff: Re: How to increase memory


by setting the environment variable JAVA_OPTS to something like this: 
-Xms32m -Xmx512m
this will cause the vm to allocate 32m at startup and limits the maximum
java heap memory size to 512mb.

you can set the environment variable by adding the following command
somewhere at the beginning of startup.bat:

set JAVA_OPTS=-Xms32m -Xmx512m

art

Gunnar Pörschke wrote:

>where and how do I increase memory (win2003Srv) for tomcat (4.1.30)?
> 
> 
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------- Interscan -- (on antivirus)

email-body was scanned and no virus found
-------------------------  Traite Par   Interscan -- (on antivirus)------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to