unix

How do I increase the initial JVM heap size on my Tomcat server?

When you start the JVM, you can set it’s initial heap memory size using the -Xms switch. You can set it to the same value as its maximum memory size (-Xmx). This means that the JVM never needs to resize and reallocate the heap memory while Tomcat is trying to serve requests.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top