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

Vulnerability Assessment

Blog banner

GraphQL

Blog banner

Deadlock and Starvation

Blog banner

Smartsheet

Blog banner

E-learning in today's world

Blog banner

Blog on health and fitness

Blog banner

Virtual Memory

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Short note on Microsoft office

Blog banner

A Traveller’s Guide to Offbeat Places in Arcadia, Florida

Blog banner

How Reading Books Shape a Child’s Imagination and Thinking?

Blog banner

Depression

Blog banner

Brain wash of social media

Blog banner

Virtual Memory

Blog banner

Loneliness

Blog banner

Segmentation and paging concept

Blog banner

What are NFT s?

Blog banner

Direct Memory Access

Blog banner

Data Analytics in Data Science

Blog banner

File management -disha parekh

Blog banner

Daycare Centres Help Children Transition into Structured Learning

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Race Conditions

Blog banner

Virtual memory

Blog banner

The Peephole

Blog banner

Concurrency and Deadlocks

Blog banner

To-Do List In LISP

Blog banner

Process Creation

Blog banner

Article on Zoho Corporation

Blog banner

Malicious softwares

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Predictive Analytics: How Data Science Predicts Trends(Weather ,Stock Market,Sales Forecasting ).

Blog banner

RAID

Blog banner

Artificial Intelligence and I

Blog banner

Virus

Blog banner

E-commerce

Blog banner

Data Mining

Blog banner

Social Media.

Blog banner

Service Strategy In ITSM

Blog banner

Evolution of Operating system.

Blog banner

From Canoeing to Camping: The Perfect Nature Escape Near Arcadia

Blog banner