---
title: Max Entries in Expired Session Cache
description: The maximum number of entries in the expired session cache. When the maximum is reached, the oldest records are overwritten.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.expired.session.cache.size
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.expired.session.cache.size.html
---

# Max Entries in Expired Session Cache

The maximum number of entries in the expired session cache. When the maximum is reached, the oldest records are overwritten.

|                          |                                                                                                                                                             |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.expired.session.cache.size`                                                                                                           |
| Aliases                  | `org.forgerock.agents.expired.session.cache.size`   Introduced in Java Agent 5.7.1   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7.1 |
| Function                 | Session                                                                                                                                                     |
| Type                     | Integer                                                                                                                                                     |
| Default                  | `500`                                                                                                                                                       |
| Bootstrap property       | Yes                                                                                                                                                         |
| Required property        | No                                                                                                                                                          |
| Restart required         | Yes - Restart the container after changing the property                                                                                                     |
| Local configuration file | `AgentBootstrap.properties`                                                                                                                                 |
| AM console               | Tab: `Advanced (from AM 7.1)`Title: `Max Entries in Expired Session Cache`Legacy title: `Expired Session Cache Max Records`                                 |
