> > I would like to set all JVMs to -Xms=32M -Xmx=512M and let > the system > > figure out how much memory each instance really needs. > > That should work, at the expense of some thrashing of the > heap size as the load waxes and wanes. >
As I understand it, it would actually not work because instances that peak at 512M but then go back down to, say, 128M, would still never return the unused memory to the OS so it can be used by other instances. Consequently, we would get a lot of disk paging. --Eric Disclaimer - February 8, 2011 This email and any files transmitted with it are confidential and intended solely for Tomcat Users List. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. This disclaimer was added by Policy Patrol: http://www.policypatrol.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org