What functions are performed by Memory Management of Operating System ?
(1) To keep track of all memory locations free or allocated and if allocated, to which process and how much.
(2) To decide memory allocation policy i.e., which process should get how much memory when and where.
(3) To use various techniques and algorithms to allocate or deallocate memory locations. Normally, this is achieved with the help of some special hardware.