On 19/06/2012 02:47, Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Miguel,

On 6/18/12 6:34 PM, Miguel González Castaños wrote:
[H]ow do I know how much ram to assign in a 64 bits jdk? We are
planning to move to a bigger server (hopefully 16 or 32 gb).
Nobody can tell you how big your heap needs to be: it all depends upon
the needs of your app and its users. We ran for 5 years with a 64 MiB
heap and never had any problems. We started getting OOMEs because we
started supporting more users and their (small) sessions were piling
up and busting our heap, so we had to increase the heap size.

Now that you have your email issue handled, you might even decide that
"bigger" hardware isn't necessary.
You are completely right. I won't move to a bigger server until I make sure the webapp is stable and we can measure the load it can handle.

I just wanted to know how I could measure how much heap size I need. Your approach seems reasonable to me

Miguel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to