tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: OutOfMemory issue
Date Mon, 31 Jan 2011 22:07:17 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aparna,

On 1/31/2011 8:42 AM, Aparna1 V wrote:
> I am facing a frequent OutOfMemoryError on the Java heap space after just 
> a few hits on the application. (The page buffer for a few jsps are of the 
> range 4000kb) 

4000kb is 4MiB. Is that what you meant? That's a pretty big buffer. What
do you need that big buffer for?

> The heap size for the app is 128 MB. 

Is that fixed? What are you memory settings?

> Earlier, I was using TC 4 with mssql pooling(pool.exe) without any issue 
> on a 64 MB heap size. 

Were you using an older JVM version, too? I've found that usually
everything newer needs a bit more RAM than older versions.

> Is this an issue with the server memory management or is there something 
> wrong with the configuration,
> or any other thing that i am overlooking? Please advise. 

Has anything else changed recently?

The only time we ever got OOMEs was when we had actually reached a user
threshold where we simply needed more memory to handle the traffic.
Before then, we were running with a 64MiB heap and decided to double it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1HMpUACgkQ9CaO5/Lv0PD8HQCglFOFd17edClwYNin4DhlHV2t
nJ0AoJOM3tnTuNJbQlHGECx4T7v2r39e
=Jyfq
-----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