wisemonkeys logo
FeedNotificationProfile
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory management

profile
Akshat Limbachiya
Aug 15, 2024
0 Likes
0 Discussions
78 Reads

Memory Management


Memory management is an OS function that handles the allocation and deallocation of memory resources for processes, ensuring efficient and secure use of the system's memory.


1. Frames: Fixed-sized blocks of physical memory. The OS divides memory into frames for easier management.

  

2. Page: Fixed-sized blocks of logical memory in a program. Pages are mapped to frames in physical memory.


3.segment: Variable-sized blocks of memory representing logical units like functions or data structures. Segments allow more flexible memory allocation.


Memory Management Requirements


- Relocation: Allows processes to be moved in memory, enabling efficient use of available space.

  

- Protection: Ensures that processes do not interfere with each other’s memory, maintaining system stability and security.

  

- Sharing: Enables multiple processes to share memory, such as libraries, while maintaining protection.

  

- Logical Organization: Organizes memory into segments or pages, reflecting the logical structure of programs.

  

- Physical Organization: Manages the mapping of logical memory to physical memory, optimizing performance and resource use.



Comments ()


Sign in

Read Next

Tomato Butter Sauce with Bucatini

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

Fitness

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

The Right way of cooking

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

Guidelines for a Low sodium Diet.

Blog banner