This section outlines procedures for tuning memory usage after installation in Windows.
Make sure to consider overall physical memory capacity of the server when making these changes. Reserve memory for other applications if present. Also, make sure to reserve some system memory for the operating system itself.
-
Open the file [APP_HOME]/depconfig/properties/external/config.yml in a text editor.
-
Locate the heap-min and heap-max properties under jboss and change the upper and lower bounds like the example below.
jboss:
jvm:
heap-min: 512
heap-max: 1024 -
Save the file.
-
Change to directory [APP_HOME]/depconfig.
-
For JBoss on Windows run deploy.bat.