I want someone build me a memory management program in c++ using linked lists
Budget: ₹600 – ₹1,500 INR
Your task is:
To control memory allocations, the Memory Manager maintains two linked lists: allocList and freeList. The allocList keeps track of allocated memory chunks, the freeList of all free memory chunks.
Whenever a CMemory function is called, Memory Manager searches the freeList from the head of the list to find out whether necessary amount of memory is available. If free memory is found, the freeList will be adjusted to reflect that this memory is not available anymore and the newly allocated memory will be added to the allocList.
After that, you have to implement unit tests and check memory leaks using valgrind.
To control memory allocations, the Memory Manager maintains two linked lists: allocList and freeList. The allocList keeps track of allocated memory chunks, the freeList of all free memory chunks.
Whenever a CMemory function is called, Memory Manager searches the freeList from the head of the list to find out whether necessary amount of memory is available. If free memory is found, the freeList will be adjusted to reflect that this memory is not available anymore and the newly allocated memory will be added to the allocList.
After that, you have to implement unit tests and check memory leaks using valgrind.