why memory management is required in a computer
Answers
Explanation:
The essential requirement of memory management is to provide ways to dynamically allocate portions of memory to programs at their request, and free it for reuse when no longer needed. This is critical to any advanced computer system where more than a single process might be underway at any time.
Memory management is a form of resource management applied to computer memory. The essential requirement of memory management is to provide ways to dynamically allocate portions of memory to programs at their request, and free it for reuse when no longer needed. This is critical to any advanced computer system where more than a single process might be underway at any time.[1]
Several methods have been devised that increase the effectiveness of memory management. Virtual memory systems separate the memory addresses used by a process from actual physical addresses, allowing separation of processes and increasing the size of the virtual address space beyond the available amount of RAM using paging or swapping to secondary storage. The quality of the virtual memory manager can have an extensive effect on overall system performance.
Explanation:
In some operation systems, e.g., DOS/360 and successors, OS/360 and successors,[2]:74 allocation of storage within an address space is handled by the operating system.; in, e.g., Unix-like operating systems, allocation within an address space is at the application level.
Memory management within an address space is generally categorized as either automatic memory management, usually involving garbage collection, or manual memory management.