tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Question on JVM memory in tomcat
Date Thu, 18 Dec 2008 04:20:13 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kees Jan,

Kees Jan Koster wrote:
> The memory drops every 18 hours because the system had locked up with
> OOME's and I reboot it.

Sorry, that wasn't clear from the graph: it looked like a continuous JVM
 heap graph with a healthy curve. Knowing that there is a crash and
reboot in there clears everything up.

> What is a MiB, how is it different from MB?

A MiB is a "real" megabyte (2^20 bytes), rather than a "fake" one (10^6
bytes) that has long been co-opted by the hard disk manufacturers to
sell more space than is actually there. Basically, it's a "real" MB.
http://en.wikipedia.org/wiki/MiB

> Hmm. Good point [about setting -Xmx == -Xms]. Especially on machines
> that have no other tasks than running that particular JVM.

Either that or JVMs that you expect to have long running times and have
been tuned to serve the expected load. Generally, any production server IMO.

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

iEYEARECAAYFAklJz30ACgkQ9CaO5/Lv0PCLgwCggZiTbSmUpJmoVhIghV5UEYm0
2ssAn3d6LzCnwKEQ40EsZ6EgNPNaYTj7
=BOIJ
-----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