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

Child labour

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Data Security must be your Priority!

Blog banner

Business Engineering

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

The Right way of cooking

Blog banner

Boxing

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Goa Trip With Friends

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Android Flashlight Application

Blog banner

Puri Jagannath temple

Blog banner

The Role of Cyber Forensics in Criminology

Blog banner

Scala - a programming tool

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Big Data Architecture

Blog banner

Models of Information Security.

Blog banner

Uniprocessor and Types

Blog banner

Stop Racism

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

Processes : Process description and control

Blog banner

Privacy LAWs in IT

Blog banner

Virtual Memory

Blog banner

TAILS OS

Blog banner

Impact of social media on the human life

Blog banner

Big Data

Blog banner

Operating system

Blog banner

Sage

Blog banner

OS Assignment 1

Blog banner

Mobile Security

Blog banner

Photography

Blog banner

Security issues

Blog banner

Memory management

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

The Golden Temple , Amritsar

Blog banner

Cross site scripting Attack

Blog banner

DATA WRANGLING

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

IT GOVERNANCE

Blog banner

The role of artificial intelligence in automating digital forensic analysis.

Blog banner