wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory management

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

Spotify

Blog banner

Boxing

Blog banner

All you need to know about “On-page SEO”

Blog banner

What is semaphore in operating system?

Blog banner

Benefits of yoga and meditation

Blog banner

Mumbai

Blog banner

Types of Malware in Cyber Security

Blog banner

Explaining Buffer Overflow with Example

Blog banner

Article on Zoho Corporation

Blog banner

Trello ( management software)

Blog banner

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

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

gis substation

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

How Does SSO Works

Blog banner

Traditional UNIX Scheduling

Blog banner

Race Condition in Operating Theatre

Blog banner

Life lesson

Blog banner

Rain

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

THREADS (assignment 1)

Blog banner

Direct Memory Access

Blog banner

Fossil Hunting 101 at the Peace River, Arcadia, Florida, USA

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

COMMUNICATION

Blog banner

Linux 94

Blog banner

Deadlock

Blog banner

Kernel in Operating System

Blog banner

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

Blog banner

Clustering Techniques

Blog banner

Record Blocking

Blog banner

Types Of scheduling

Blog banner

Hello World

Blog banner

Memory Management in Operating System

Blog banner

What are Virtual Machines

Blog banner

Digital Marketing - The new way to reach end consumer

Blog banner

BUSINESS MODELS OF E COMMERCE

Blog banner

What is thread and alse multithreading

Blog banner

 " Healing of Yoga "

Blog banner

Uber

Blog banner

Emotional Suppression: The Hidden Costs Of Unfelt Feelings

Blog banner