Skip to content

artiam99/Linux-Heap-Memory-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux-Heap-Memory-Manager

This is custom-designed Linux Heap Memory Manager. It manages the memory allocated or freed for a process.

calloc() and free() functions are also implemented in this project and Internal and External Fragmentation problems are also prevented.

The Memory Manager also shows its internal state by printing the memory usage for each structure.

compilation -

gcc -g -c testapp.c -o testapp.o

gcc -g -c mm.c -o mm.o

gcc -g -c gluethread/glthread.c -o gluethread/glthread.o

gcc -g testapp.o mm.o gluethread/glthread.o -o test.exe

For testing modify the testapp.c file by allocating and de-allocating memory using XMALLOC() and XFREE() functions.

Do the above compilation and run test.exe.

./test.exe

High Level Design

hld

Testing Linux Heap Memory Manager

Screenshot (82)

Screenshot (83)

Screenshot (80)

Screenshot (81)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages