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

Deadlock

Blog banner

Delhi city

Blog banner

Latest Email Marketing Techniques

Blog banner

OPERATING SYSTEM

Blog banner

Install Ubuntu in Vmware

Blog banner

Topic: Sessions in Operating system

Blog banner

Importance of education

Blog banner

Electronic Funds Transfer

Blog banner

Which Smartphone Company Has the Largest Market Share in India?

Blog banner

E-Cash (Electronic Cash)

Blog banner

Memory Management

Blog banner

Models of Information Security.

Blog banner

Social Media.

Blog banner

Cache memory

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

Business-to-Business

Blog banner

Regression Analysis

Blog banner

LiquidPlanner

Blog banner

VIRTUAL MACHINES

Blog banner

MoSCoW METHOD IN DATA SCIENCE

Blog banner

Linux 94

Blog banner

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

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

Spotify

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

Child labour

Blog banner

Landslide Hazard

Blog banner

Photorec - media recovery tool

Blog banner

Risk management in IT

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

Art and Culture of Rajasthan

Blog banner

Secure Hypertext transfer protocol

Blog banner

File system implementation

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

Natural Language Processing(NLP)

Blog banner

Smart Shoephone: Is that technology overdose!?

Blog banner

Threads

Blog banner

Modern operating system

Blog banner

Deadlock

Blog banner

Top 5 Places To Stay And Visit In Berlin, Germany

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Multiprocessor and Multicore Organization

Blog banner