Skip to content

feat(memory): implement MemoryBudgetConfig and wire MemoryManager through application stack#553

Open
JeanPhilippeKernel wants to merge 1 commit into
developfrom
user/kernel/memory-budget
Open

feat(memory): implement MemoryBudgetConfig and wire MemoryManager through application stack#553
JeanPhilippeKernel wants to merge 1 commit into
developfrom
user/kernel/memory-budget

Conversation

@JeanPhilippeKernel

Copy link
Copy Markdown
Owner
  • Add SubArenaConfig and MemoryBudgetConfig with Default(), Editor(), Server() variants
  • Implement TotalCommitted() and Validate() on MemoryBudgetConfig
  • MemoryManager stores Budget and exposes CreateBudgetedArena with optional profiler tracking
  • Remove Instance() singleton; Obelisk stack-allocates MemoryManager and passes it explicitly
  • CLI parsing moved before budget selection so Editor() vs Default() is chosen correctly
  • GameApplication and Editor updated to accept MemoryManager* instead of ArenaAllocator*
  • Update all test call sites to new Initialize(size, config) signature

…ough application stack

- Add SubArenaConfig and MemoryBudgetConfig with Default(), Editor(), Server() variants
- Implement TotalCommitted() and Validate() on MemoryBudgetConfig
- MemoryManager stores Budget and exposes CreateBudgetedArena with optional profiler tracking
- Remove Instance() singleton; Obelisk stack-allocates MemoryManager and passes it explicitly
- CLI parsing moved before budget selection so Editor() vs Default() is chosen correctly
- GameApplication and Editor updated to accept MemoryManager* instead of ArenaAllocator*
- Update all test call sites to new Initialize(size, config) signature
@JeanPhilippeKernel JeanPhilippeKernel added this to the Born baby (0.3.0) milestone Jul 19, 2026
@JeanPhilippeKernel JeanPhilippeKernel added Feature request New feature area-linux Work on Linux system area-window Work on Window system area-macOS Work on macOS system labels Jul 19, 2026
@JeanPhilippeKernel JeanPhilippeKernel self-assigned this Jul 19, 2026
@JeanPhilippeKernel JeanPhilippeKernel moved this to In Progress in ZEngine Board Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-linux Work on Linux system area-macOS Work on macOS system area-window Work on Window system Feature request New feature

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant