Skip to content

Vicky-op/custom-memory-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom Memory Manager in C

This project demonstrates how dynamic memory allocation works internally by implementing a custom memory management system in C.

Features

  • Fixed-size memory pool
  • Custom implementation of malloc and free
  • Block splitting and merging (coalescing)
  • Linked list–based memory tracking

Technologies Used

  • C Language
  • GCC Compiler

How to Run

gcc src/*.c -Iinclude -o memory ./memory

Learning Outcome

  • Understanding heap memory
  • Internal working of malloc and free
  • Memory fragmentation handling

Future Improvements

  • Best-fit allocation
  • realloc implementation
  • Thread-safe memory management

About

Custom memory allocator in C using a fixed-size heap with block splitting and coalescing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages