Page tree
Skip to end of metadata
Go to start of metadata

Product Version: 9.0
Last Modified: 18 July 2019

Problem

NAKIVO Backup & Replication displays the following alarm:

Director is about to run out of memory. Allocate more memory to the application.

Background

During NAKIVO Backup & Replication installation, the JVM memory parameters are configured based on the auto detected host memory size. However, the application may require more memory than detected automatically. If the NAKIVO Backup & Application Director has less than 10% of JVM memory available, the product will display the error message informing that the Director is about to run out of memory. Running the Director out of memory can cause corruption of the product database. 

Solution

  1. Check if you have enough physical memory available and consider adding more if you don’t have enough of it.
  2. If there is no possibility to add physical memory, proceed as follows:
    1. Stop NAKIVO Backup & Replication Director service.

    2. Increase the maximum heap size (Xmx) and minimum heap size (Xms) in the following NAKIVO Backup & Replication configuration file:

  • For Windows OS: native\win32\backup_replication-service.ini
  • For Linux: choose the file that corresponds with your distribution and startup system:

/etc/init.d/nkv-dirsvc

              /etc/init/nkv-dirsvc.conf
              /etc/systemd/system/nkv-dirsvc.service

Example (for Windows OS) 

File pathC:\Program Files\NAKIVO Backup & Replication\native\win32\backup_replication-service.ini

JVM values:

vmarg.7=-Xss512k
vmarg.8=-Xms256m
vmarg.9=-Xmx2g

c. Start NAKIVO Backup & Replication Director service.

d. If the error keeps appearing, increase the memory settings until you no longer experience this error.



  • No labels