Kaspersky Standard | Plus | Premium

How to limit memory and CPU resource usage

You can set a limit on CPU usage for scan tasks. No limit is set by default. You can also configure memory usage limits for scan tasks. The default limit is 8192 megabytes.

On the command line, you can configure CPU utilization limits for tasks of the ODS type using the UseOnDemandCPULimit and OnDemandCPULimit settings in the general application settings.

You can edit the setting using command line options or a configuration file that contains all general application settings.

UseOnDemandCPULimit accepts the following values:

  • Yes to enable the CPU usage limit for ODS tasks.
  • No to disable the CPU usage limit for tasks.

The OnDemandCPULimit setting sets the maximum utilization level for all CPU cores (as a percentage) when running ODS tasks. The option accepts values between 10 and 100. Default value 100.

On the command line, you can configure memory usage limits for tasks of the ODS type using the ScanMemoryLimit setting in the kfl.ini configuration file. Default value: 8192.