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.

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.

Thanks,
Shawn


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

Reply via email to