RAMUsageLimit

Specifies the maximum amount of system memory, in kilobytes (KB) that can be allocated by Kaspersky Scan Engine.

Setting RAMUsageLimit is not recommended for machines with limited CPU performance. For example, when the scan engine is running on a virtual machine, and the CPU resources of the physical host are shared with other virtual machines or processes.

This measure prevents the operating system from running out of memory. Excessive use of system memory (in this case, RAM) can occur when Kaspersky Scan Engine scans large files or receives a lot of simultaneous scan requests. When the RAMUsageLimit limit is reached, Kaspersky Scan Engine stops processing the object that caused the excessive consumption of memory.

Path

ICAPSettings > RAMUsageLimit

Attributes

This element has no attributes.

Value

The recommended RAMUsageLimit value:

Kaspersky Scan Engine also requires memory resources for all of its components.

Do not set the value of RAMUsageLimit lower than 7 MB. This is the minimum amount of system memory required to ensure the proper functioning of Kaspersky Scan Engine.

If the value of this parameter is 0, the amount of system memory that can be allocated by Kaspersky Scan Engine is not limited.

The default value is 0.

If the value of this parameter is set to 0, the operating system may run out of memory. If Kaspersky Scan Engine uses too much system memory, the operating system may stop the service.

Example

The following is an example of this element.

<RAMUsageLimit>0</RAMUsageLimit> <!-- 0 = unlimited -->

Page top