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

Respondo Launches Revolutionary Video Discussion App

Blog banner

Importance Of Yoga.

Blog banner

Veg Mix Pickle

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

Uniprocessor Scheduling

Blog banner

Self-love: Being the reason of your own smile

Blog banner

Business-to-Business

Blog banner

Virtual Memory

Blog banner

Python as a tool for data analysis

Blog banner

Cache Memory

Blog banner

Creating Digitally Signed Document

Blog banner

Deadlock and Starvation

Blog banner

Data carving - using hex editor

Blog banner

Atlantis - The Lost Island.........

Blog banner

Getting to Kashmir: Alternative to the Jammu-Srinagar highway

Blog banner

Types Of scheduling

Blog banner

An Overview of Virtual Machines

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

Social Media Sentiment Analysis

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Busted : Common Web Security Myths

Blog banner

Jio .....A Revolution ?? ??

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

Product Discount Calculator

Blog banner

The Psychology of Diversity, Equity & Inclusion: How Inclusive Workplaces Boost Productivity

Blog banner

Landslide Hazard

Blog banner

Supervised and unsupervised learning

Blog banner

Why is ITSM important in IT organization?

Blog banner

Music

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

RACI model in IT services

Blog banner

objectives and function of operating system

Blog banner

Junk food vs healthy food

Blog banner

Install Ubuntu in Vmware

Blog banner

E-learning

Blog banner

LIMITED EDITION

Blog banner

DMZ: Your Secret Weapon for Data Security

Blog banner

Security Issues and Countermeasures

Blog banner

About myself

Blog banner