wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory management

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

AutoML: The Future of Automated Data Science

Blog banner

Memory

Blog banner

How to insert contacts in zoho crm using php

Blog banner

10 Signs That Prove YOU are his FIRST priority.

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

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

Blog banner

MY FIRST BLOG?

Blog banner

Why do you need a personalised bag tag for your kids' school bags?

Blog banner

File management -disha parekh

Blog banner

Firewall in Computer Network

Blog banner

MAILFENCE

Blog banner

Celebrate Raksha Bandhan with Premium Dry Fruit Gift Hampers

Blog banner

Multiprocessor and scheduling

Blog banner

MEMORY MANAGEMENT

Blog banner

Delhi city

Blog banner

IOT Hacking Techniques

Blog banner

5 Stages of Digital Marketing

Blog banner

Population

Blog banner

Environmental Management using GIS

Blog banner

Understanding Input Based Keylogger Activation Systems: Risks and Mitigation

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Traveling

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

How to Manage Employees and Tasks in One System (Without Excel)

Blog banner

SQL Injection practice on DVWA

Blog banner

Socket Programming in Java

Blog banner

SECURITY TOOLS

Blog banner

Best password managers: Reviews of the top products

Blog banner

Depression

Blog banner

Starvation

Blog banner

Mobile Survey

Blog banner

Race Condition in Operating Theatre

Blog banner

The New Role of Social Media Managers: Beyond Posting Content

Blog banner

Operating system

Blog banner

Biometric Authentication and Privacy: Balancing Ethical Concerns

Blog banner

Smart Eating Habits for Office Professionals to Stay Healthy

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

Cross site scripting Attack

Blog banner

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

Blog banner

From Airboat Tours to Fossil Hunting: The Ultimate Arcadia Travel Experience

Blog banner

Process Description

Blog banner

PROCESS CONTROL BLOCK IN OS

Blog banner