View Source

You may need to fix heap space memory if you run both CDP 2.0 and CDP 3.0 on the same machine.

{info:title=New in Version 3.14}
The upgrade to version 3.14 will change the java heap size to 50% of physical memory if the {{server.conf}} file has been customized with a higher value. Reserving more than 50% of a system's memory for the Java Heap can result in situations where not enough memory is available for non-heap memory to the CDP server, or for other applications running on the system.{info}

----
{toc:location=top|maxLevel=3|minLevel=3|type=flat|separator=pipe|style=border:1}

----
h3. Linux Installations

The {color:blue}\--set-max-mem{color} setup command allows you to set the max heap your server uses.
{code}# r1soft-setup --set-max-mem{code}
You can get examples of the input with:
{code}# r1soft-setup --help{code}

----
h3. Windows Installations

Follow the instructions below to configure the heap memory using the CDP Configuration Utility.

1. Run the CDP Configuration Utility by going to Start !arrow-transparent.gif! All Programs !arrow-transparent.gif! R1Soft CDP Backup !arrow-transparent.gif! CDP Configuration Utility on the computer where the CDP Server is installed.

2. Select the "Set Heap Size" tab in the Windows CDP Configuration Utility main window.

|| Standard Edition | !heap-tab-st.png! ||
|| Enterprise Edition | !select-heap-tab.png! ||


3. In the "Set Heap Size" tab, move the slider to adjust the heap size of the server. The currently selected value is displayed in the editable box. The percentage of the memory is calculated automatically.

!drug.png!

If necessary, click "Default" to return to the default value.

!default.png!

4. Click "Apply" to save the selected value.

!apply.png!

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

1. Access the {color:blue}server.conf{color} file. By default, in Enterprise Edition the file is located in:
{code}C:\Program Files\R1Soft CDP Server Enterprise\conf\server.conf{code}
2. Edit {color:blue}server.conf{color} as follows:
* Change {color:blue}compute.maxmemory{color}:
{code}compute.maxmemory=false{code}
* Uncomment {color:blue}maxmemory{color} and set to new value in MB. For example:
{code}maxmemory=1024{code}

!heap.png!

3. Save the {color:blue}server.conf{color} file.

----
h3. Defaults

*Standard & Advanced Editions:*
Physical RAM < 1 GB fail to install
Physical RAM < 4 GB - Max Heap is 256 MB
Physical RAM >= 4 GB - Max Heap is 512 MB

*Enterprise Editions:*
Physical RAM < 2 GB fail to install
Physical RAM < 4 GB - Max Heap is 1 GB
Physical RAM >= 4 GB AND 64-Bit Install - Max Heap is 2 GB

{excerpt:hidden=true}Instructions on how to set up heap space memory in Linux and Windows CDP. Default Heap Memory values. {excerpt}