wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory management

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

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

Disk Management

Blog banner

Security requirements for Safe E-Payments

Blog banner

What is OS and its overview

Blog banner

Mendeley (management software)

Blog banner

Supervised and unsupervised learning

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Cybersecurity Standards for Automotive

Blog banner

Top 10 Logos and their meanings

Blog banner

FRIENDSHIP

Blog banner

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

Blog banner

Use case of K-means clustering

Blog banner

Uniprocessor scheduling

Blog banner

Uniprocessor Scheduling

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

Wiretapping

Blog banner

Animal’s have my heart

Blog banner

THE LEGAL ISSUES OF COMPUTER FORENSICS IN INDIA

Blog banner

10 Unknown facts about India's Independence

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

Challenges and risks in service operations

Blog banner

How To Secure Operating Systems ?

Blog banner

S-Tool : Steganography

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

How Men and Women Process Pain Differently

Blog banner

Deadlock and Starvation

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

URL vs Domain

Blog banner

Service Operation

Blog banner

Virtual machine

Blog banner

Multiprocessor and Multicore Organization

Blog banner

evolution of operating system - Disha Parekh

Blog banner

Buffering

Blog banner

How To Implement Search Engine Marketing (Sem) Strategy Effectively

Blog banner

Blockchain uses and use cases

Blog banner

Importance of Morning Routines for Students During the Festive Season

Blog banner

EVOLUTION OF THE MIRCOPROCESSOR

Blog banner