tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel González Castaños <miguel_3_gonza...@yahoo.es>
Subject Re: heap memory issues
Date Tue, 19 Jun 2012 17:51:18 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message