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

Note: For demonstration purposes, we increased the heap space to 4096M, however user can increase/decrease the heap space depending on their available RAM and based on the requirements (For example, 1024M, 8192M, etc.).

Increase Heap Space in RHEL OS

To increase the heap space for the Validation Responder installed in RHEL, follow the below mentioned steps:

  1. Stop the Validation Responder server.

  2. 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

  3. 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:

  1. Stop the Validation Responder server (Use server.bat stop command, from the <VR-home>\responder\bin directory).

  2. 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

  3. 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:

  1. Stop the Validation Responder service from the Windows services tab.

  2. 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

  3. 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.

  4. Start the Validation Responder service from the Windows services tab.