pyphi.cost.CACHE_HEADROOM_BYTES#

pyphi.cost.CACHE_HEADROOM_BYTES = 1073741824#

Memory a shard’s request grants its repertoire caches.

A shard evaluates every mechanism it carries against one long-lived System, whose cached repertoires are released only when that System is collected, so cache occupancy grows with the number of mechanisms packed into a shard rather than with the size of any one repertoire. Granting the allowance in the request and enforcing it during execution (see shard_cache_budget_bytes()) bounds that growth whatever the shard packs.