-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Shawn,

On 1/4/19 13:07, Shawn Heisey wrote:
> On 1/4/2019 10:44 AM, John Dale wrote:
>> Interesting note: "likely includes memory that Java requires
>> beyond the Java heap size itself"
>> 
>> Can you expound on this?
> 
> In the majority of cases, most of the memory that Java allocates
> from the system is its heap.
> 
> But there are other memory structures required.  One of those is
> the space where Java loads things like classes.  Java is a very
> complicated piece of software that would require a number of
> in-memory structures for various operations.  The one that comes to
> mind most readily is garbage collection.

Also the actual compiled code from all that Java bytecode. It's gotta
go somewhere.

> The OP said the max heap they could get allocated was 1600MB.
> Which suggests that Java is requiring a few hundred megabytes to be
> allocated for its own operation, fitting inside the 2GB max.
> 
> If more memory is needed in the heap, the only option will be to
> switch to 64-bit Java.

If you *absolutely need* to run 32-bit JVM, could you perhaps switch
to another OS? I think that many folks have been able to squeeze a
little more RAM from Linux than they have been able to from Windows.
Maybe it's time to move to Docker :)

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlwxE7AACgkQHPApP6U8
pFi7hBAAwFPtOz0mOAAEhVrzl3tSUNi4rksbymnHkHPb62vzkA9NtGw4cHlAMy2F
5ksbCfT1IbLoJkm5+GZx3PdUWnO7w/jggyATeuoGyTakq7XPJPqwRXNnu1pMgejJ
S4YHHlkeJ2lV0A0nnq154OPrES/8Y4FWLE8G+CgCMuEwGMY+1PYIGMurxPGhS/1l
UU7ZXYZKcJFzeBRSFxeva3fidsBRpO60JU/E+eaKlq8ScZVnvLiqsPsb/3RYHo2F
fWd4KxXUUwUuaemoMLHfMWbNYWY7MGYI/fR9i0jkMFELirv8eHtSDVb1pweffSzh
ZbrSAltB38EhkZkt2wyPptot18vyDstLUnaLj9CQkY+k7Dl/SLmS24AezDFwgT3x
Jb7bS4Mk9mKmw0+RY6GoSsQ7cdOWG23lxIK7CT3ebLaiWat5/sI1K/830uo0Wm4s
2aUnqkMvcrkrUI0XbKjtP2MEGZ4QRsMdIVQ5qW5+2844GONZwMEUJdYkLG3WMuid
SWOH8CNAWli0cw5P/RO9cAeVbgH9L4MFTuCJfwxWdVhQ7ME3nWgl6oUa23IQRF0i
Kem0RoHZPa40ucwKvIHM6ErrIqXCUppYb+HBhNJKWSBQSGtx5IjuQcOQSdjmCGoy
ZRvjnnDIB4Ho3on0SQowIbX5dMFa9eDoAY8pXIDsyQUWmZvT7rw=
=zo7q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to