# src/memory.rs
- MemoryManager · struct · L9-L12 — pub struct MemoryManager
- new · function · L15-L20 — pub fn new(max_memory: u64) -> Self
- max_memory · function · L22-L24 — pub fn max_memory(&self) -> u64
- total_allocated · function · L26-L28 — pub fn total_allocated(&self) -> u64
- allocate · function · L30-L32 — pub fn allocate(&self, amount: u64)
- deallocate · function · L34-L36 — pub fn deallocate(&self, amount: u64)
- is_under_limit · function · L38-L40 — pub fn is_under_limit(&self) -> bool
- default · function · L44-L47 — fn default() -> Self