Configure to Increase Heap Space
In this section, we will discuss the procedure to increase the heap space for all the supported Operating System (OS):
-
Increase Heap Space in RHEL OS
-
Increase Heap Space in Windows OS
Increase Heap Space in RHEL OS
To increase the heap space for the Validation Responder installed in RHEL, follow the below mentioned steps:
-
Stop the Validation Responder server.
-
Go to the directory /<VR-home>/responder/bin, edit the common.sh file, replace the line JAVA_MEM_CONFIG=-Xmx256M with JAVA_MEM_CONFIG=-Xmx4096M
-
Start the Validation Responder server.
Increase Heap Space in Windows OS
To increase the heap space for Validation Responder installed in Windows, you can follow one of the below steps based on the way you start the Validation Responder process.
-
Increase Heap Space using Command Line
-
Increase Heap Space using Windows Services
Increase Heap Space using Command Line
Follow the below steps using the command line:
-
Stop the Validation Responder server (Use server.bat stop command, from the <VR-home>\responder\bin directory).
-
Go to the <VR-home>\responder\bin directory, edit the common.bat file and replace the JAVA_MEM_CONFIG=-Xmx256M with JAVA_MEM_CONFIG=-Xmx4096M
-
Start the Validation Responder server (Use server.bat start command from the <VR-home>\responder\bin directory).
Increase Heap Space using Windows Services
Follow the below steps in the Windows services:
-
Stop the Validation Responder service from the Windows services tab.
-
Go to the directory <VR-home>\responder\bin, edit the service.bat file, replace the line "%EXECUTABLE%" //US//%SERVICE_NAME% --JvmMx 256 --Startup auto ++JvmOptions –Xrs with the "%EXECUTABLE%" //US//%SERVICE_NAME% --JvmMx 4096 --Startup auto ++JvmOptions –Xrs
-
Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\ValidationResponder7.4\Parameters\Java on the windows registry, update the key JvmMx value to 4096 in decimal.
-
Start the Validation Responder service from the Windows services tab.