Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Whats the difference between the various amounts of RAM offered?

0
Posted

Whats the difference between the various amounts of RAM offered?

0

The default setting for Tomcat is 64MB of RAM. Its the default because it is more than enough memory for almost every application. If you code properly and don’t waste memory (i.e. put an entire table into a result set instead of asking for the lines that you need) you will not need more than 64MB. Your site may require a larger heap if it is very data intensive such as if it simultaneously loads multiple result sets of thousands of rows. If your site gets a very high amount of traffic (50K+ page views per day) to dynamic (JSP or Servlet) content you may also need a larger JVM. When in doubt we recommend choosing the smaller JVM – its a two minute fix to increase your memory if need be.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123