<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.memcp.org/index.php?action=history&amp;feed=atom&amp;title=Memory_Management_and_Eviction</id>
	<title>Memory Management and Eviction - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.memcp.org/index.php?action=history&amp;feed=atom&amp;title=Memory_Management_and_Eviction"/>
	<link rel="alternate" type="text/html" href="https://www.memcp.org/index.php?title=Memory_Management_and_Eviction&amp;action=history"/>
	<updated>2026-08-25T10:00:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://www.memcp.org/index.php?title=Memory_Management_and_Eviction&amp;diff=266&amp;oldid=prev</id>
		<title>Carli: Created page with &quot;MemCP tracks persisted shard columns, indexes, temporary columns, keytables, cache-engine objects, and string dictionaries in a global memory manager.  The overall budget defaults to 50% of system RAM. A separate persisted-data budget defaults to 30%. Exact byte limits override percentages. If system available memory falls too low, MemCP can evict before its own configured budget is exhausted.  Eviction is LRU-like and type-aware. Persistent shard eviction releases only...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.memcp.org/index.php?title=Memory_Management_and_Eviction&amp;diff=266&amp;oldid=prev"/>
		<updated>2026-08-21T11:02:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;MemCP tracks persisted shard columns, indexes, temporary columns, keytables, cache-engine objects, and string dictionaries in a global memory manager.  The overall budget defaults to 50% of system RAM. A separate persisted-data budget defaults to 30%. Exact byte limits override percentages. If system available memory falls too low, MemCP can evict before its own configured budget is exhausted.  Eviction is LRU-like and type-aware. Persistent shard eviction releases only...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;MemCP tracks persisted shard columns, indexes, temporary columns, keytables, cache-engine objects, and string dictionaries in a global memory manager.&lt;br /&gt;
&lt;br /&gt;
The overall budget defaults to 50% of system RAM. A separate persisted-data budget defaults to 30%. Exact byte limits override percentages. If system available memory falls too low, MemCP can evict before its own configured budget is exhausted.&lt;br /&gt;
&lt;br /&gt;
Eviction is LRU-like and type-aware. Persistent shard eviction releases only in-memory representations; files remain and are reloaded on demand. Shards with unflushed deltas cannot be evicted. &amp;lt;code&amp;gt;memory&amp;lt;/code&amp;gt; tables are never evicted because that would destroy their only copy. &amp;lt;code&amp;gt;cache&amp;lt;/code&amp;gt; tables are explicitly reconstructible and may be discarded under pressure.&lt;br /&gt;
&lt;br /&gt;
Monitor both current/budgeted memory and reload behavior. A workload whose hot set exceeds the budget remains correct for persistent tables but may become storage-I/O bound. See [[Settings]] and [[Dashboard_and_Operations|Dashboard and Operations]].&lt;/div&gt;</summary>
		<author><name>Carli</name></author>
	</entry>
</feed>