Allocator

Fixed block memory allocator for C++: per-class operator new/delete from the heap or a static pool.

Author
David Lafreniere
Website
https://github.com/endurodave/Allocator
Category
Data Processing
License
MIT
Library Type
Contributed
Architectures
Any

Give a class its own allocator with DECLARE_ALLOCATOR/IMPLEMENT_ALLOCATOR, or a compile-time static pool with AllocatorPool. Freed blocks are reused, so allocation is fast and the heap doesn't fragment. Needs the C++ standard library (not 8-bit AVR).

Downloads

Filename Release Date File Size
Allocator-1.2.0.zip 2026-11-15 26.86 KiB