[id='memory']
:context: config
= Configuring and Cleaning the Data Container
Configure {brandname} to evict and expire cache entries, keeping only recently
active entries in memory and protecting the size of the data container.

//Overview
include::{topics}/con_evict_vs_expire.adoc[leveloffset=+1]

//Eviction
include::{topics}/con_eviction.adoc[leveloffset=+1]
include::{topics}/con_eviction_overview.adoc[leveloffset=+2]
include::{topics}/ref_eviction_examples.adoc[leveloffset=+2]
include::{topics}/con_eviction_custom_classes.adoc[leveloffset=+2]

//Expiration
include::{topics}/con_expiration.adoc[leveloffset=+1]
include::{topics}/con_expiration_overview.adoc[leveloffset=+2]
include::{topics}/con_expiration_reaper.adoc[leveloffset=+2]
include::{topics}/con_expiration_maxidle.adoc[leveloffset=+2]
include::{topics}/ref_expiration_examples.adoc[leveloffset=+2]

// Restore the parent context.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
