This file provides user with an API for Pool initialization. It initializes memory pool according to the size provided to the program. Best free space implements the best fit algorithm to find block with optimum size. Allocate_memory, allocates memory to different modules with a structure at the begining of every block. Defragment is implemented to remove the complications when too many small blocks starts to exist with in the memory making it impossible for large process to run. Free memory, frees a block allocated to a module and makes it available for any other module. If a module who has already been allocated memory wish to use more memory in that case reallocate memory allocates more memory to that block or either re-locate it to a new place.
-
Notifications
You must be signed in to change notification settings - Fork 0
shahqaan/memory-manager
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This program provides user with an API for Pool initialization. It uses Best Free Space algorithm to find a block with optimum size.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published