• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat 6 and RAM Upgrade

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I ran into an issue this morning where Tomcat 6 would not start on a Windows 2008 R2 server. I asked if any changes had been made and I was informed it was upgraded from 2GB RAM to 6GB and they reserved 4GB for the Tomcat application. Clearing the log files, temp and work directories then restarting the server didn't work. <-- Figured the old reboot trick would work =)

Under the Java tab in the Tomcat Properties, I see Initial Memory Pool and Maximum Memory Pool are now set at 4000MB.
Can they both be set to the same number? I've never had to make any changes in this setting before so I am unfamiliar with how it works.

Since they could not afford anymore downtime, they reverted back to 2GB and Tomcat started backup without issues. I will look into this issue after-hours but any suggestions why Tomcat wouldn't restart with the new memory settings?

On a different server with 12GB of RAM, I noticed that they did not set any numbers for the Initial or Maximum Memory Pool. Are there pros and cons to leaving it blank vs setting a value?

Off to continue searching the forums...Thanks again for the assistance!
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, the first question that comes to mind was whether or not the JVM being used was a 32-bit JVM or a 64-bit JVM.

Either of them will run a 2GB Tomcat, providing the underlying hardware/OS are 64-bit capable, but if you tell a 32-bit JVM that its supposed to be working with 4GB or more of RAM, that's beyond the abilities of the 32-bit JVM.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic