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

# Caches and Memory

Configure how GridGain stores data in memory and on disk — caches, data regions, persistence, and near caches.

{% columns %}
{% column %}
{% content-ref url="/pages/2hGSTcNP8Yk6r452fDEk" %}
[Configuring Caches](/docs/gridgain/gridgain-8/gridgain8-development/caches-and-memory/configuring-caches.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Configuring GridGain caches, including atomicity modes, cache groups, backups, data compression, expiry policies, data distribution, and on-heap caching.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/3fQJ6Zxy0NX6IXH0xzu8" %}
[Configuring Memory](/docs/gridgain/gridgain-8/gridgain8-development/caches-and-memory/memory-configuration.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Configuring GridGain memory usage, including data regions, eviction policies, and page replacement policies.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/oZCbNM1VuuO557QKJWSZ" %}
[Persistence](/docs/gridgain/gridgain-8/gridgain8-development/caches-and-memory/persistence.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Configure how GridGain persists cache data to external stores — third-party databases and custom cache store implementations.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
{% content-ref url="/pages/PN3l0HcgHM3d9ZSdGcop" %}
[Near Caches](/docs/gridgain/gridgain-8/gridgain8-development/caches-and-memory/near-caches.md)
{% endcontent-ref %}
{% endcolumn %}

{% column %}
Configuring near caches in GridGain to store recently or frequently accessed data on the local node, statically and dynamically.
{% endcolumn %}
{% endcolumns %}
