SlideShare a Scribd company logo
3
Most read
6
Most read
7
Most read
Group 1
Memory Management
IT A004 -Pc Maintenance
Hardy ATI
29/11/2013
Inside
Persons who contributed
About memory management
Physical memory
Virtual memory
Paging and swapping
Storage allocation
Segmentation
Conclusion
PersonsWhoContributed…
℗ MAM.Safraz HNDIT/F/E/2013/13
℗ ALM.Basith HNDIT/F/E/2013/35
℗ HHIM.Fernando HNDIT/F/E/2013/60
℗ DD.Manawadu HNDIT/F/E/2013/06
℗ PMU.Dhananjani HNDIT/F/E/2013/07
℗ KE.Harshika HNDIT/F/E/2013/28
Memory management is the process of controlling and coordinating
computer memory, assigning portions called blocks to various running
programs to optimize overall system performance. Memory
management resides in hardware, in the OS (operating system), and in
programs and applications.
In hardware, memory management involves components that physically
store data, such as RAM (random access memory) chips, memory
caches, and flash-based SSDs (solid-state drives). In the OS, memory
management involves the allocation (and constant reallocation) of
specific memory blocks to individual programs as user demands change.
At the application level, memory management ensures the availability
of adequate memory for the objects and data structures of each
running program at all times. Application memory management
combines two related tasks, known as allocation and recycling.
Storage Hierarchy
Main Memory
• Cache on Chip (internal cache)
• External Cache memory
• RAM
Secondary Storage
• Hard Disk
Tertiary Storage
• CD ROM
• Floppy
• Tape
Access time decreases
Capacity decreases
Cost increases
Alternatively referred to as the physical
storage or the real storage, physical
memory is a term used to describe the
total amount of memory installed in the
computer.
For an example, if the computer has two
64MB memory modules installed, it has a
total of 128MB of physical memory.
Physical memory
Virtual Memory
Virtual memory is a technique of executing program
instructions that may not fit entirely in system
memory. This is done by calling instructions as and
when the application requires it. Virtual memory is
implemented by using secondary storage to augment
the main memory. Data is transferred from secondary
to main storage as and when necessary and the data
modified is written back to the secondary storage
according to a predetermined algorithm.
1. Paging
In this approach, physical memory is divided into fixed-size blocks called
frames and the logical memory is divided into the fixed-sized blocks called
pages. The size of a page is same as that of frame. The key idea of this
method is to place the pages of a process into the available frames of
memory, whenever, this process is to be executed. The address mapping is
done by Page table.
Swapping
Swapping is the technique of temporarily removing inactive programs from
the main memory of a computer system. An inactive program is one that is
neither executing nor performing an I/O operation.
This may also happen when it is desired to place a higher-priority process in
the memory. A lower priority process may be swapped out so that higher-
priority process may be loaded and executed.
Paging
Compare
Swapping
Swapping is when an entire
process is swapped out.
Paging is normal.
Paging refers to making
individual pages of memory.
Swapping happens when the
resource load is heavy and the
entire process is written out
to disk.
Memory management
Segmentation
segmentation is another technique for the
noncontiguous storage allocation. It is different from
paging as it supports users’ view of his program.
For a programmer it might be more relevant to divide
the logical address space of his program into variable
sized segments (with respect to his view of main
program, subroutines, data, etc.) than to divide it into
fixed size pages. Such variable sized segments, which
are a collection of logically related information, are the
basis of segmentation technique.
Memory management
Memory management

More Related Content

PPTX
Memory Management
PPTX
Cache memory
PPT
pipeline and vector processing
PPT
Multiprocessor Systems
PPT
Virtual Memory
PPT
Disk management
PPTX
Memory organization
PPTX
Memory Management in OS
Memory Management
Cache memory
pipeline and vector processing
Multiprocessor Systems
Virtual Memory
Disk management
Memory organization
Memory Management in OS

What's hot (20)

PDF
Operating System-Ch8 memory management
PPTX
Chapter 10 Operating Systems silberschatz
PPTX
Computer architecture multi processor
PPTX
Distributed Shared Memory notes in distributed systems.pptx
PPTX
File concept and access method
PPT
Distributed & parallel system
PPT
Lecture 10 distributed database management system
PDF
Process Scheduling in OS
PPT
Virtual memory
PPT
Chapter 12 - Mass Storage Systems
PPTX
Demand Paging in OS (Operating System): Example, Advantages, Working
PPT
Memory management early_systems
PPTX
Memory Organization
PPT
Memory Management in OS
PPTX
Operating system paging and segmentation
PPTX
Memory system
PPT
cache memory
PPTX
Memory management
PPTX
Summary of "Google's Big Table" at nosql summer reading in Tokyo
PPTX
Pram model
Operating System-Ch8 memory management
Chapter 10 Operating Systems silberschatz
Computer architecture multi processor
Distributed Shared Memory notes in distributed systems.pptx
File concept and access method
Distributed & parallel system
Lecture 10 distributed database management system
Process Scheduling in OS
Virtual memory
Chapter 12 - Mass Storage Systems
Demand Paging in OS (Operating System): Example, Advantages, Working
Memory management early_systems
Memory Organization
Memory Management in OS
Operating system paging and segmentation
Memory system
cache memory
Memory management
Summary of "Google's Big Table" at nosql summer reading in Tokyo
Pram model
Ad

Similar to Memory management (20)

DOCX
Memory management
PPTX
unit5_os (1).pptx
PPTX
Os unit 2
PPTX
Memory Managementgggffffffffffgggggggggg
PDF
Operating system 3
PPTX
Operating zSYtemterfrom Presentationform
PPTX
Unit 5 Memory management in OS Unit 5 Memory management in OS
PDF
CSI-503 - 6. Memory Management
DOCX
Opetating System Memory management
PPT
Memory management ppt coa
PPTX
Paging +Algorithem+Segmentation+memory management
PPT
Unit 5 Memory management System in OS.ppt
PPT
Memory management
PPTX
Virtual Memory
DOCX
Operating system
PDF
Operating System-3 "Memory Management" by Adi.pdf
PPTX
Os Module 4_Virtual Memory Management.pptx
PPTX
memorymanagement-2112140500ygyftftt34.pptx
PPTX
UNIT-2 OS.pptx
PPT
Chapter 9 OS
 
Memory management
unit5_os (1).pptx
Os unit 2
Memory Managementgggffffffffffgggggggggg
Operating system 3
Operating zSYtemterfrom Presentationform
Unit 5 Memory management in OS Unit 5 Memory management in OS
CSI-503 - 6. Memory Management
Opetating System Memory management
Memory management ppt coa
Paging +Algorithem+Segmentation+memory management
Unit 5 Memory management System in OS.ppt
Memory management
Virtual Memory
Operating system
Operating System-3 "Memory Management" by Adi.pdf
Os Module 4_Virtual Memory Management.pptx
memorymanagement-2112140500ygyftftt34.pptx
UNIT-2 OS.pptx
Chapter 9 OS
 
Ad

Recently uploaded (20)

PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Introduction to Artificial Intelligence
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
L1 - Introduction to python Backend.pptx
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Digital Systems & Binary Numbers (comprehensive )
PPT
Introduction Database Management System for Course Database
PDF
System and Network Administraation Chapter 3
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
medical staffing services at VALiNTRY
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Navsoft: AI-Powered Business Solutions & Custom Software Development
Upgrade and Innovation Strategies for SAP ERP Customers
Computer Software and OS of computer science of grade 11.pptx
Introduction to Artificial Intelligence
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
L1 - Introduction to python Backend.pptx
CHAPTER 2 - PM Management and IT Context
2025 Textile ERP Trends: SAP, Odoo & Oracle
How to Choose the Right IT Partner for Your Business in Malaysia
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Digital Systems & Binary Numbers (comprehensive )
Introduction Database Management System for Course Database
System and Network Administraation Chapter 3
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PTS Company Brochure 2025 (1).pdf.......
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
medical staffing services at VALiNTRY
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Softaken Excel to vCard Converter Software.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx

Memory management

  • 1. Group 1 Memory Management IT A004 -Pc Maintenance Hardy ATI 29/11/2013
  • 2. Inside Persons who contributed About memory management Physical memory Virtual memory Paging and swapping Storage allocation Segmentation Conclusion
  • 3. PersonsWhoContributed… ℗ MAM.Safraz HNDIT/F/E/2013/13 ℗ ALM.Basith HNDIT/F/E/2013/35 ℗ HHIM.Fernando HNDIT/F/E/2013/60 ℗ DD.Manawadu HNDIT/F/E/2013/06 ℗ PMU.Dhananjani HNDIT/F/E/2013/07 ℗ KE.Harshika HNDIT/F/E/2013/28
  • 4. Memory management is the process of controlling and coordinating computer memory, assigning portions called blocks to various running programs to optimize overall system performance. Memory management resides in hardware, in the OS (operating system), and in programs and applications. In hardware, memory management involves components that physically store data, such as RAM (random access memory) chips, memory caches, and flash-based SSDs (solid-state drives). In the OS, memory management involves the allocation (and constant reallocation) of specific memory blocks to individual programs as user demands change. At the application level, memory management ensures the availability of adequate memory for the objects and data structures of each running program at all times. Application memory management combines two related tasks, known as allocation and recycling.
  • 5. Storage Hierarchy Main Memory • Cache on Chip (internal cache) • External Cache memory • RAM Secondary Storage • Hard Disk Tertiary Storage • CD ROM • Floppy • Tape Access time decreases Capacity decreases Cost increases
  • 6. Alternatively referred to as the physical storage or the real storage, physical memory is a term used to describe the total amount of memory installed in the computer. For an example, if the computer has two 64MB memory modules installed, it has a total of 128MB of physical memory. Physical memory
  • 7. Virtual Memory Virtual memory is a technique of executing program instructions that may not fit entirely in system memory. This is done by calling instructions as and when the application requires it. Virtual memory is implemented by using secondary storage to augment the main memory. Data is transferred from secondary to main storage as and when necessary and the data modified is written back to the secondary storage according to a predetermined algorithm.
  • 8. 1. Paging In this approach, physical memory is divided into fixed-size blocks called frames and the logical memory is divided into the fixed-sized blocks called pages. The size of a page is same as that of frame. The key idea of this method is to place the pages of a process into the available frames of memory, whenever, this process is to be executed. The address mapping is done by Page table.
  • 9. Swapping Swapping is the technique of temporarily removing inactive programs from the main memory of a computer system. An inactive program is one that is neither executing nor performing an I/O operation. This may also happen when it is desired to place a higher-priority process in the memory. A lower priority process may be swapped out so that higher- priority process may be loaded and executed.
  • 10. Paging Compare Swapping Swapping is when an entire process is swapped out. Paging is normal. Paging refers to making individual pages of memory. Swapping happens when the resource load is heavy and the entire process is written out to disk.
  • 12. Segmentation segmentation is another technique for the noncontiguous storage allocation. It is different from paging as it supports users’ view of his program. For a programmer it might be more relevant to divide the logical address space of his program into variable sized segments (with respect to his view of main program, subroutines, data, etc.) than to divide it into fixed size pages. Such variable sized segments, which are a collection of logically related information, are the basis of segmentation technique.