FreeKB - How to change the heap size in Tomcat
How to change the heap size in Tomcat

Home > Search > How-to

The file contains the minimum and maximum heap size for each application server. The file should be located at ${tomcat_home}/bin/

  • -Xms = minimum heap
  • -Xmx = maximum heap

In this example, the minimum heap size is 256 KB and the maximum heap size is 128 MB. If you change the minimum or maximum heap size, you will need to restart the application server for the change to take effect.



Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.