---
title: POST Data Preservation Storage Size
description: The maximum number of megabytes allocated to store POST data. When the maximum is reached, old entries are discarded.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.pdp.cache.total.size.mb
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.pdp.cache.total.size.mb.html
---

# POST Data Preservation Storage Size

The maximum number of megabytes allocated to store POST data. When the maximum is reached, old entries are discarded.

Use this property to mitigate the risk of DDoS attacks.

This property takes precedence over [Max Entries in POST Data Preservation Storage](org.forgerock.agents.pdp.cache.size.html).

|                          |                                                                                                                                                                                                                                                                         |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.pdp.cache.total.size.mb`                                                                                                                                                                                                                          |
| Aliases                  | `org.forgerock.agents.pdp.cache.total.size.mb`   Introduced in Java Agent 5.6`org.forgerock.openam.agents.config.postdata.preserve.cache.entry.max.total.size.mb`   Introduced in Java Agent 5.6   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 6 |
| Function                 | POST data preservation                                                                                                                                                                                                                                                  |
| Type                     | Integer                                                                                                                                                                                                                                                                 |
| Default                  | \`\`                                                                                                                                                                                                                                                                    |
| 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`Title: `POST Data Preservation Storage Size`Legacy title: `PDP Maximum Cache Size`                                                                                                                                                                       |
