🛠 Increase heap memory on WildFly

orestispantazos

Orestis Pantazos

Posted on October 23, 2019

🛠 Increase heap memory on WildFly

WildFly application servers gives us the opportunity to increase heap memory for faster results on our web applications that we are running locally on development environment. There is only one step as shown below:

Step 1:

In the WildFly installation home directory, we can find the standalone.conf (for Unix based systems) or standalone.conf.bat (for Windows systems) file in the bin folder.

  1. We can simply open it and update the -Xmx option in the following line (change the number as per the requirement):
JAVA_OPTS="-Xms64m -Xmx512m ..."
Enter fullscreen mode Exit fullscreen mode

Step 2:

  1. This will set the heap memory while starting up the server. (We need to restart the server)
💖 💪 🙅 🚩
orestispantazos
Orestis Pantazos

Posted on October 23, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related