tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: heap memory issues
Date Tue, 19 Jun 2012 00:47:49 GMT
-----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.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/fzDUACgkQ9CaO5/Lv0PCqFgCdGIzKHtqi/rSI/hmSrk+2VcO3
6+wAoJoAi0CxzV1q4ZjjvrFSrFNiLrmj
=VD69
-----END PGP SIGNATURE-----

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


Mime
View raw message