Kaspersky Standard | Plus | Premium

How to limit resident memory usage

You can configure a limit on the application's use of resident memory. By default, the limit is set automatically.

On the command line, you can configure the resident memory usage limit using the MaxMemory setting in the kfl.ini configuration file.

The MaxMemory setting can take the following values:

  • off – the resident set size is not limited.
  • <value>% – a value between 1 and 100, expressing a percentage of memory.
  • <value>MB – a value in megabytes.
  • lowest/<value>%/<value>MB – the smaller value between the value as a percentage and the value in megabytes.
  • highest/<value>%/<value>MB – the larger value between the value as a percentage and the value in megabytes.
  • auto – up to 50% of available memory, but not less than 2 GB and not more than 16 GB.

Default value: auto.