wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory management

profile
Neeti undefined
Aug 15, 2024
0 Likes
0 Discussions
75 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

Types of Big Data

Blog banner

Music is life

Blog banner

HACKING MOBILE PLATFORM

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

Winter Wellness: Which Dry Fruits and Seeds Should You Add to Your Daily Diet?

Blog banner

Memory Management

Blog banner

INTRODUCTION TO C#

Blog banner

Operating system and overviews

Blog banner

Save Environment

Blog banner

A Heartfelt Act of Kindness

Blog banner

Dudhasagar waterfall ?

Blog banner

note taker app

Blog banner

Unlocking the Power of Plant Protein: Incorporating Chia, Sunflower, and Pumpkin Seeds

Blog banner

Mental Health at Midlife: When Life Transitions Become Emotional Turning Points

Blog banner

Danger assessment in GIS

Blog banner

Deadlock

Blog banner

MODERN OPERATING SYSTEM

Blog banner

RACI model in IT services

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

Deadlock

Blog banner

The most common internet security threats

Blog banner

What is Vishing?

Blog banner

Explain website hacking issues

Blog banner

Product Discount Calculator

Blog banner

Palliative and End — of — Life Care: A Psychological and Holistic Perspective

Blog banner

Understanding the 4 Types of Learning Methods in Early Childhood

Blog banner

Types of Viruses

Blog banner

What is M-commerce and how it's work

Blog banner

Real-time Scheduling - 53003230061

Blog banner

Interesting fact about kangaroo.

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Latest Email Marketing Techniques

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

OPERATING SYSTEM

Blog banner

Technological Advancement

Blog banner

Mutual exclusion

Blog banner

NIKE

Blog banner

The Evolution of Operating Systems

Blog banner

Chicken Dum Biryani

Blog banner

Child labour

Blog banner

Buffer Overflow

Blog banner