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

Things You Should Leave Behind In 2025, Whilst In 2026

Blog banner

Memory Hierarchy

Blog banner

Threads and concurrency

Blog banner

Cache Memory(142)

Blog banner

A Deep Dive

Blog banner

Linker

Blog banner

What is Network Security?

Blog banner

evolution of operating system - Disha Parekh

Blog banner

Linux -V Server Virtual Machine

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Uniprocessor Scheduling

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

Friendship

Blog banner

Google

Blog banner

5 Stages of Digital Marketing

Blog banner

Risk factors in service transistion

Blog banner

Memory management

Blog banner

Deadlock in Operating systems

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Synchronization

Blog banner

Sessions In OS.

Blog banner

About myself

Blog banner

Paid Email

Blog banner

Multiprocessor scheduling

Blog banner

College Life

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner

GIS Mapping

Blog banner

Fashion marketing in india

Blog banner

Deadlock and Starvation

Blog banner

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

Blog banner

Advantage of freedom

Blog banner

Virtual Memory

Blog banner

E-mail security

Blog banner

Intrusion Detection Systems - Anushka Linge

Blog banner

Tableau

Blog banner

Operating System

Blog banner

Key to success in Sports

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Ransomware

Blog banner

Data Science in Mental Health Prediction

Blog banner