MemoryModules: memory/allocation, memory/mapped_region, memory/pool_region, memory/stack_region

Memory

Modules: memory/allocation, memory/mapped_region, memory/pool_region, memory/stack_region

These modules expose allocation-budget helpers and region-style memory helpers used by higher-level runtime and application code.

TypeModulePurpose
AllocErrormemory/allocationAllocation failure details for Result APIs
MemoryStatsmemory/allocationCurrent runtime memory limit, usage, peak, remaining budget, and failures
MappedRegionmemory/mapped_regionMemory-mapped allocation region
PoolRegionmemory/pool_regionPool-backed allocation region
StackRegionmemory/stack_regionStack-like allocation region

See Memory Model for conceptual background.

Architected in Kotlin. Rendered with Materia. Powered by Aether.
© 2026 Yousef.