How to increase heap memory for WildFly?

Manuela picture Manuela · Jul 25, 2014 · Viewed 74.7k times · Source

WildFly 8 is started on a linux server with standalone.sh. I noticed that the server was started with very few heap memory space.

I need to increase the heap memory space for the server and for applications, which are running on the server. How can I do it?

Answer

Harald Wellmann picture Harald Wellmann · Jul 25, 2014

Just edit bin/standalone.conf, look for the first occurrence of JAVA_OPTS and change the -Xmx option according to your needs.