tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franck Borel <bo...@ub.uni-freiburg.de>
Subject Re: settingheap sizes for JVM in tomcat
Date Fri, 19 May 2006 14:20:39 GMT

>   Is there any criteria/way  to determine the  suitable heap sizes ( -Xms nad -Xmx )
for JVM in tomcat ??
>   
Add folling line in your catalina.sh

CATALINA_OPTS=-Xms512 -Xmx1024
or
JAVA_OPTS=-Xms512 -Xmx1024

Normally the JVM allocates an initial size of 512 MB (Java 1.5). If you
need more then this amount of memory you can set the minimum size at 512
and the maximum at 1024. This should be enough for most applications
running on tomcat. To set the maximum size of memory is allways a good idea.

-- Franck

>    
>   Thanks in advance
> Siddesh
>
>
>
> 		
> ---------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for
2ยข/min or less.
>   


-- 
====================================================================
Dipl.-Hyd. Franck Borel               Universitaetsbibliothek Freiburg
EMail: borel@ub.uni-freiburg.de       EDV-Dezernat
Tel. : +49-761 / 203-3908             Werthmannplatz 2 | Postfach 1629
Fax  : +49-761 / 203-3987             79098 Freiburg   | 79016 Freiburg



Mime
View raw message