---
title: "Configure the cacheSize setting for the IDTable"
slug: "configure-the-cachesize-setting-for-the-idtable"
abstract: "How to limit the size of the Sitecore IDTable."
---
# Configure the cacheSize setting for the 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:

    ```xml
    <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.