tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Hundreds of Instances
Date Fri, 07 Dec 2007 14:57:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Delian,

Delian Krustev wrote:
>>> Really? From your other message, you make it look like Java is taking
>>> something like 1GB of memory. Sure, the JVM adds some overhead to the
>>> heap size you configured, but it shouldn't be more than 5% or 10%...
>>> nothing like 200%.
> 
> It could be more that 200% depending on the heap size and other parameters.

True. If you have a 5MB heap then maybe the JVM takes more than twice as
much space. :p

> Furthermore if the swapping is a problem you'd better limit the memory 
> available to the JVM. IMHO this could not be done via VM parameters.
> Use ulimit instead.

Use JVM parameters instead of ulimit.

- -chris

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

iD8DBQFHWV9s9CaO5/Lv0PARAks6AJ0SwEG2hUmE4og6/pCUHGQQrhMfAwCfUwN1
4nhreRkgngACvVSwYIeQ18Q=
=lvPN
-----END PGP SIGNATURE-----

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


Mime
View raw message