The process describes how to increase the Java HEAP memory allocated to SAFR Services. This process should be performed only at guidance from SAFR Support.
Use SAFR Configure-mem Command
The configure-mem command is included in the SAFR bin directory located under SAFR application directory. Process below describes how to run this command under Linux or Windows.
Windows
Open a DOS Command Window and enter following commands
Change directory to C:\Program Files\RealNetworks\SAFR\covi\bin
Run the following command:
configure-mem -e
The program will prompt for the memory size for each of the SAFR Services. Press enter to accept the default value or enter a new value in the units indicated. Below shows the command output with an update made to CoVi service and accepting defaults for all others. All values are in MB except for the database (Mongo) which is in GB.
The program automatically restarts SAFR to apply the memory changes.
Linux
Follow same process on Linux with following differences:
- configure-mem is located in /opt/RealNetworks/SAFR/bin by default
- configure-mem is an executable (no extension)
Using Windows Java Properties Dialog
configure-mem is the preferred way to modify SAFR Java HEAP memory. But this script is not available on older versions of SAFR. On SAFR Versions 3.25 or earlier use the following method.
Open a DOS Command Window and enter following command:
.\tomcat8w.exe //ES/SAFRCovi
This command opens “SAFR Covi Properties” window as shown below.
Click “Java” tab and change the value of Maximum memory pool to the desired value in MB.