View Source

You may need to fix heap space memory if Server Backup Manager is running into *Java Heap: Out of Memory* errors.




The {{\--set-max-mem}} setup command allows you to set the max heap your server uses. In the following example the max memory heap size is set to 1 gigabyte.

{code}serverbackup-setup --set-max-mem 1g{code}




You can get examples of the input with:
{code}serverbackup-setup --help{code}



Alternatively, you can configure the heap memory manually in the {{server.conf}} file.

1. Access the {{server.conf}} file. By default, in Server Backup Manager the file is located in:
{code}/usr/sbin/r1soft/conf/server.conf{code}

2. Edit {{server.conf}} as follows:
* Change {{compute.maxmemory}}:
{code}compute.maxmemory=false{code}
* Uncomment {{maxmemory}} and set to new value in MB. For example:
{code}maxmemory=1024{code}


3. Save the {{server.conf}} file.

4. Restart the Server Backup Manager Server Service.

h3.
----