tomcat-users mailing list archives

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

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 [] 
Sent: Friday, January 20, 2006 7:38 PM
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?

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message