tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Mixon" <rnmi...@qwest.net>
Subject RE: increase limit Xmx
Date Sat, 21 Jan 2006 23:23:52 GMT
Andri,

I'm guessing that you are using a 32-bit version of (SuSE) Linux Enterprise
9. You need to use the 64-bit version to get heap sizes greater than 2GB
(actually it ends up being closer to th 1800m as you have experience). An of
course your hardware needs to support 64-bit (e.g. with AMD64 chips such as
Opterons or Intels EMT64 clones).

Now of course, switching to 64-bit OS and hardware may not be an option.
Something that sometimes works for others is to run two or more instances of
Tomcat - with each getting the 1800M of heap. Of course there must be real
memory/RAM to support this, but some 32-bit machines can support 4GB of RAM
(maybe more, I'm not sure) - the 2GB (or slightly less)  limit is for a
single process, such as the JVM that Tomcat runs in.

With the multiple Tomcat's running, of course you need some way to load
balance requests across the two instances - you can search the archives of
this list for many, many discussions on how to do this.

HTH - Richard 

-----Original Message-----
From: Andri Herumurti [mailto:vynx_1999@yahoo.com] 
Sent: Friday, January 20, 2006 7:38 PM
To: users@tomcat.apache.org
Subject: increase limit Xmx

how to increase limit of Xmx?
   
  i use suse linux enterprise server 9, but i need to increase the limit of
Xmx so it can become more than 1800m?
   
  Thanks
  Andri

		
---------------------------------
 
 What are the most popular cars?  Find out at Yahoo! Autos


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message