14.2.5.2. Memory and disk usage of CF

Configuring the memory and disk usage in CF

Figure 14.31. Configuring the memory and disk usage in CF

CF has a number of options governing the memory and hard disk usage behavior of CF. These resources are mainly used to temporarily store the objects while being inspected, decompress archived files, and so on. The following memory usage settings are available:

  • Max. disk usage: The maximum amount of hard disk space that CF is allowed to use.

  • Max. memory usage: The maximum amount of memory that CF is allowed to use.

  • Low and high water mark: CF tries to store everything in the memory if possible. If the memory usage of CF reaches high water mark, it starts to swap the data onto the hard disk, until the memory usage decreases to low water mark.

  • Max. non-swapped object size: Objects smaller than this value are never swapped to hard disk.

  • Content-type preview: This parameter determines the amount of data (in bytes) read from MIME objects to detect their MIME-type. Higher value increases the precision of MIME-type detection. Trying to detect the MIME-type of objects is required because there is no guarantee that a MIME object is indeed what it claims to be.