Setting the application memory usage limit

You can limit the amount of RAM that Kaspersky Endpoint Security uses when running OAS, ODS, and ContainerScan scan tasks.

Limiting memory usage can be useful for systems with a large amount of RAM (more than 5 GB).

You can use the ScanMemoryLimit option in the kesl.ini configuration file to adjust the size of RAM used by the application when scanning files. Default value: 8192 MB. The minimum value is 2 MB. If the specified value is less than 2 MB, the application uses the minimum value (2 MB). If the specified value is greater than the amount of RAM available on the device, the application uses up to 25% of the RAM. This value cannot be changed.

This setting limits only the amount of memory used when scanning files. That means that the total amount of memory required by the application can be more than the value of this setting.

To specify a limit on memory use when scanning files:

  1. Stop Kaspersky Endpoint Security.
  2. Open the /var/opt/kaspersky/kesl/common/kesl.ini file for editing.
  3. Under [General], specify the required amount of RAM in ScanMemoryLimit:

    ScanMemoryLimit=<amount of memory in megabytes>

  4. Start Kaspersky Endpoint Security.

The new memory usage limit for scanning files will be in effect after the application restarts.

Page top