Configure the cacheSize setting for the IDTable

Abstract

How to limit the size of the Sitecore IDTable.

You can limit the size of the IDTable by configuring the cacheSize setting.

To configure the cacheSize setting:

  1. In the <wwwroot>\App_Config\Sitecore.config file, locate the IDTable setting.

  2. Change the cacheSize settings default value of 2500KB to the size you want:

    <IDTable type="Sitecore.Data.$(database).$(database)IDTable, Sitecore.Kernel" singleInstance="true">
        <param connectionStringName="$(defaultDatabaseConnectionStringName)" />
        <param desc="cacheSize">2500KB</param>
    </IDTable>
    
  3. Save the Sitecore.config file.