> 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).

# 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](/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](/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](/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 %}
