wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory management

profile
Neeti undefined
Aug 15, 2024
0 Likes
0 Discussions
69 Reads


-memory is collection of data in a specific format. The instructions are stored and processed in memory. When the memory is subdivided among different processes it is called memory management. Memory management is important for effective utilization of memory since memory is the most important thing in operating system. Basic terms used in memory management:

1. Frame- fixed length block in main memory

2. Page- fixed length block in secondary memory

3. Segment- variable length block in secondary memory

 

Memory management requirements include:

1.   Reallocation: In multiprogramming system, the main is shared by multiple processes so a programmer cannot predict which programs will be stored in memory while program runs.

Processes are swapped in and out of main memory to maximize processor utilization. When program is swapped out of disk it may be placed in different memory back in requiring relocation.

2.   Protection: To protect processes from unwanted interference it is essential to make sure other programs don’t access the memory without proper authorization.

 

3.   Sharing: Any mechanism must have the flexibility to allow several processes to share same memory space. The memory management should allow shared memory with controlled access and with protection.

 

4.   Logical organization: To handle programs the operating system and computer hardware must support fundamental module that enables sharing and protection. This has following advantages:

·     Modules can be written and compiled independently.

·     Different modules can be assigned varying levels of protection.

·     Various mechanism exists to facilitate sharing of modules among different processes.

5.   Physical organization: The computer’s memory structure consists of main memory and secondary memory. Main memory is faster but volatile while secondary memory is used for long term storage. The main concern is the flow of information between these memory levels. The complexity of managing the information flow between main and secondary memory along with challenges of overlaying and uncertain space availability makes it difficult for programmers to fully understand and optimize memory usage.


Comments ()


Sign in

Read Next

IoT Evolution

Blog banner

Buffer Overflow

Blog banner

OS Assignment 3

Blog banner

WHAT IS SNAPCHAT AND HOW DOES IT WORK?

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

Direct Memory Access

Blog banner

Trello ( management software)

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

Rapido

Blog banner

WINDOWS I/ O

Blog banner

Open relationships

Blog banner

Broken Authentication Attacks

Blog banner

File management

Blog banner

Memory Management

Blog banner

National Payments Corporation of India-Rupay - Gayatri Nayak

Blog banner

Password Generator - Lisp

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

Domain Name System

Blog banner

An Overview of Virtual Machines

Blog banner

HubSpot

Blog banner

Development Of Modern Operating System

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

Linux 94

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

Outlook.com

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

E-Governance

Blog banner

Different Types of Data

Blog banner

KASHMIR TRIPS

Blog banner

Memory management and virtual memory

Blog banner

Security Breaches in Stock market trading

Blog banner

Vulnerability Assessment

Blog banner

My 1stNull Puliya session

Blog banner

Operating System

Blog banner

Subnet Masking

Blog banner

Service Operation

Blog banner

CREATE A DAILY SERIES

Blog banner

Kids Grieve Too

Blog banner

Concurrency and Deadlocks

Blog banner