Configure Deep Security Manager memory usage

Configure the installer's maximum memory usage

The installer is configured to use 1GB of contiguous memory by default. If the installer fails to run, you can configure the installer to use more memory:

  1. Go to the directory where the installer is located.
  2. Prepare an installation properties file. For example, you can name the file install.prop and use it for silent installation (see Sample properties file).

    When you run the silent installation, append the -J-Xmx2g parameter to the installer command to have 2GB of memory. For example, Manager-Linux-Version.x64.sh -q -console -varfile PropertiesFile -J-Xmx2g

    To have a different amount of memory, adjust the value of the appended parameter. For example, -J-Xmx1024m or -J-Xmx4g.

Configure Deep Security Manager's maximum memory usage

The Deep Security Manager default setting for memory allocated to the Manager JVM process is 4GB. It is possible to change this setting:

  1. Go to the Deep Security Manager installation directory. This is the same directory as for the Deep Security Manager executable.
  2. Create a new file. Depending on the platform, give it the following name:
    • Windows: Deep Security Manager.vmoptions
    • Linux: dsm_s.vmoptions
  3. Edit the file by adding a line similar to the following:

    -Xmx10g

    In the preceding example, 10g will make 10GB memory available to the Deep Security Manager.
  4. Save the file and restart Deep Security Manager.
  5. Verify the new setting by going to Administration > System Information and in the System Details area, expand Manager Node > Memory. The Maximum Memory value should now indicate the new configuration setting.

When you install Deep Security Manager version 20.0.313 (20 LTS Update 2021-01-18) or later, if the installer detects at least 16GB of RAM available, the default amount of memory allocated to the manager JVM process is 8GB.