Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maximum allowed memory for Tomcat 6.0 and Tomcat 7.0

 
ahmed tanvir
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Currently I am using Tomcat 5.5 but it has a memory limit of 2 GB max. As my application requires more memory, I am thinking of upgrading my tomcat installation.
Can any one tell me the maximum allowed memory for Tomcat 6.0 and Tomcat 7.0? Is there any other benefits of using Tomcat 6.0 or Tomcat 7.0 over Tomcat 5.5?
And what the effect in 64 bit system?
 
Tim Moores
Bartender
Posts: 2733
36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think that's a Tomcat limitation; it sounds like you're using a 32-bit JVM.
 
Rob Spoor
Sheriff
Pie
Posts: 20511
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

A 32-bit JVM will only allow up to 1.5GB. This is a limitation for all 32-bit applications. It doesn't matter if the operating system is 64-bit or not.
If you use a 64-bit JVM (you will also need a 64-bit operating system), you will not have this limit. As a result, Tomcat can use a lot more memory. At my work, we use 3GB for Tomcat at the moment.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic