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:
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.
- 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 ..."
- This will set the heap memory while starting up the server. (We need to restart the server)