This project demonstrates how dynamic memory allocation works internally by implementing a custom memory management system in C.
- Fixed-size memory pool
- Custom implementation of malloc and free
- Block splitting and merging (coalescing)
- Linked list–based memory tracking
- C Language
- GCC Compiler
gcc src/*.c -Iinclude -o memory ./memory
- Understanding heap memory
- Internal working of malloc and free
- Memory fragmentation handling
- Best-fit allocation
- realloc implementation
- Thread-safe memory management