tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Question on JVM memory in tomcat
Date Thu, 18 Dec 2008 04:20:13 GMT
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.

> 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
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message