> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/gridgain/gridgain-8/gridgain8-development/caches-and-memory/memory-configuration.md). Agents can also search and read this documentation through its [MCP server](https://mariadb.com/docs/~gitbook/mcp).

# Configuring Memory

Configuring GridGain memory usage, including data regions, eviction policies, and page replacement policies.

{% columns %}
{% column %}
{% content-ref url="/pages/ZAEWeaIeqcWiuGIkv0aT" %}
[Configuring Data Regions](https://mariadb.com/docs/gridgain/gridgain-8/gridgain8-development/caches-and-memory/memory-configuration/data-regions.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Configuring GridGain data regions to control RAM usage per cache, including the default region, custom regions, system regions, and cache warm-up strategy.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/l6bOOqjDhdItYRsjqgNh" %}
[Eviction Policies](https://mariadb.com/docs/gridgain/gridgain-8/gridgain8-development/caches-and-memory/memory-configuration/eviction-policies.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Configuring off-heap memory eviction in GridGain, including the Random-LRU and Random-2-LRU page selection algorithms and on-heap cache eviction.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/8KWMDGfPc4CyONA8Q7eh" %}
[Replacement Policies](https://mariadb.com/docs/gridgain/gridgain-8/gridgain8-development/caches-and-memory/memory-configuration/replacement-policies.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Configuring page replacement in GridGain when Native Persistence is on, including the Random-LRU, Segmented-LRU, and CLOCK page replacement algorithms.
{% endcolumn %}
{% endcolumns %}

<sub>*This page is: Copyright © 2026 MariaDB. All rights reserved.*</sub>

{% @marketo/form formId="4316" %}
