tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Santarsiero <paolo.santarsi...@gmail.com>
Subject Re: Max heap size
Date Fri, 08 Jan 2010 14:02:45 GMT
Well, it depends on the jvm memory usage. I use for my system this JAVA_HOME
jvm parameters in catalina.sh:
 -Xms64m -Xmx512m -XX:MaxPermSize=200m
It is not certain that this configuration is good for your system. I set
200Mb for max permgen size because the objects in permgen on average occupy
120Mb, but might be too much or too little for you. The same is true for
-Xms and -Xmx
I suggest you monitor your heap first (by jconsole or jvisualvm), in order
to know  memory usage by applications, and only then optimize the
configuration.


2010/1/8 V Jayakumar <vjk@hotmail.com>

>
> Hello
>
>
>
> OS : 32 Bit Redt Hat Enterprise Linux
>
>
>
> $ java -version
> java version "1.6.0_14"
> Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
> Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
>
>
>
> apache-tomcat-5.5.20
>
>
>
> Server has 4 GB of RAM.
>
>
>
> What is the maximum value that can be passed to  -Xmx ?
>
>
>
> Thanks in advance for the help.
>
> _________________________________________________________________
> Windows Live: Friends get your Flickr, Yelp, and Digg updates when they
> e-mail you.
>
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message