SlideShare a Scribd company logo
Seminar Presentation
On
MEMORY MANAGEMENT
Submitted By:-
Sohil Sundaram
BCA – 2nd SEM
Roll No. 30
Submitted To:-
Mr. Dinesh Dobhal
Sohil Sundaram, 30
OPERATING SYSTEM
 Program to manage Computer Hardware.
 Provide base for Application programs.
 Acts as an intermediary between user and hardware.
 Supports Complex games, business applications, etc. .
Sohil Sundaram, 30
Memory - Definition
 Physical device capable of storing information.
 Is central to the operation of a modern computer system.
 Consists of large array of words or bytes, each with its own address.
Sohil Sundaram, 30
NEED OF
MEMORY MANAGEMENT
 To manage the Primary Memory of OS.
 To optimize overall performance of Computer System.
 Helps in CPU Scheduling.
Sohil Sundaram, 30
Working Process
 Determines how memory is allocate among competing processes ?
 Which get memory and how much ?
 Which memory location ?
 After Execution, free the memory.
Sohil Sundaram, 30
Address Binding
 To Bring the process into memory.
 Compile Time : Process reside in memory.
 Load Time : Compiler generate relocatable table
 Execution Time : Moved from one segment from another.
Sohil Sundaram, 30
Logical vs Physical Address
 Address generated by the CPU is called Logical Address.
 Physical address is which is seen by the memory unit.
 Compile time and Load time has same impact on both addresses while they
differ in Execution time address binding.
Sohil Sundaram, 30
Dynamic Loading
 Entire programs must be in Physical memory to execute.
 Size of process is limited to the size of physical memory.
 Main program is loaded into memory and is executed.
 Control is loaded or passed to the newly loaded routine.
Sohil Sundaram, 30
SWAPPING
 Process can be swapped temporarily out of memory and then brought back into
memory for continued execution.
 In the mean time, CPU scheduler will allocate a time slice to other process in
memory.
 When each process finishes its quantum, it will be swapped with another
processes.
 The quantum must be large enough that reasonable amount of computing can
be done b/w swaps.
Sohil Sundaram, 30
Contiguous Memory Allocation
 Main memory must accommodate with the operating system and the various
user processes.
 Divided into two portions:
 Resident Operating system.
 User process.
Sohil Sundaram, 30
Memory Allocation
 Simplest method is to divide memory into several fixed partitions.
 Each partition may contain exactly one process.
 When a partition in free, a process is selected from the input queue and is
loaded into the free partitions.
 Hole is searched for a new process.
 We allocate as much memory that is needed.
 When space allocated, it is loaded into memory and then compete for the CPU.
 After Termination, it releases the memory.
Sohil Sundaram, 30
Selection of Hole
 First – Fit :- Allocate the first hole that is big enough. Searching can start at the
beginning or where the previous first-fit search ended.
 Best – Fit :- Allocate the smallest hole that is big enough. Search the entire list,
unless the list is kept ordered by size.
 Worst – Fit :- Allocate the largest hole. Search the entire list unless it is sorted
by size.
Sohil Sundaram, 30
Fragmentation
 It can be internal as well as external.
 Break Physical memory into fixed size of blocks and allocate memory in unit of
block sizes.
 Memory allocated to process may be slightly larger than requested memory.
Sohil Sundaram, 30
PAGING
 Is a Memory Management Scheme that permits the physical address space of a
process to be non-contiguous.
 Is used in many operating system.
 Physical memory breaks into fixed sized blocks called Frames.
 Logical memory also breaks into blocks of the same size called Pages.
Sohil Sundaram, 30
CONCLUSION
 Memory Management – ways to manage Memory.
 Memory management is a function responsible for managing the computers
primary memory.
 It keeps the status of the memory whether free or allocated or free.
 It determines how memory is allocated among competing processes. How they
will get it and how much they will get it.
Sohil Sundaram, 30
Sohil Sundaram, 30
!!! THANKS !!!

More Related Content

What's hot

Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
Ankit Katiyar
 
kernels
 kernels kernels
kernels
Kiran Baskar
 
Motherboard ppt
Motherboard pptMotherboard ppt
Motherboard ppt
Vipin Gupta
 
Architecture of operating system
Architecture of operating systemArchitecture of operating system
Architecture of operating system
Supriya Kumari
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
chauhankapil
 
Program Threats
Program ThreatsProgram Threats
Program Threats
guestab0ee0
 
Process of operating system
Process of operating systemProcess of operating system
Multithreading
MultithreadingMultithreading
Multithreading
A B Shinde
 
RAM(Random Access Memory)
RAM(Random Access Memory)RAM(Random Access Memory)
RAM(Random Access Memory)
JaneAlamAdnan
 
Os Threads
Os ThreadsOs Threads
Os Threads
Salman Memon
 
Functions Of Operating System
Functions Of Operating SystemFunctions Of Operating System
Functions Of Operating System
Dr.Suresh Isave
 
Memory management
Memory managementMemory management
Memory management
cpjcollege
 
17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria 17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria
myrajendra
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computer
SHIKHA GAUTAM
 
operating system
operating systemoperating system
operating system
KadianAman
 
Kernel (OS)
Kernel (OS)Kernel (OS)
Primary memory (main memory)
Primary memory (main memory)Primary memory (main memory)
Primary memory (main memory)
shah baadshah
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
Mukesh Chinta
 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
sreelakshmikv
 
Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
Chankey Pathak
 

What's hot (20)

Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
 
kernels
 kernels kernels
kernels
 
Motherboard ppt
Motherboard pptMotherboard ppt
Motherboard ppt
 
Architecture of operating system
Architecture of operating systemArchitecture of operating system
Architecture of operating system
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Program Threats
Program ThreatsProgram Threats
Program Threats
 
Process of operating system
Process of operating systemProcess of operating system
Process of operating system
 
Multithreading
MultithreadingMultithreading
Multithreading
 
RAM(Random Access Memory)
RAM(Random Access Memory)RAM(Random Access Memory)
RAM(Random Access Memory)
 
Os Threads
Os ThreadsOs Threads
Os Threads
 
Functions Of Operating System
Functions Of Operating SystemFunctions Of Operating System
Functions Of Operating System
 
Memory management
Memory managementMemory management
Memory management
 
17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria 17 cpu scheduling and scheduling criteria
17 cpu scheduling and scheduling criteria
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computer
 
operating system
operating systemoperating system
operating system
 
Kernel (OS)
Kernel (OS)Kernel (OS)
Kernel (OS)
 
Primary memory (main memory)
Primary memory (main memory)Primary memory (main memory)
Primary memory (main memory)
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
memory hierarchy
memory hierarchymemory hierarchy
memory hierarchy
 
Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
 

Viewers also liked

E-Commerce Seminar (Intermediate to Advance)
E-Commerce Seminar (Intermediate to Advance)E-Commerce Seminar (Intermediate to Advance)
E-Commerce Seminar (Intermediate to Advance)
Asif Hussain
 
3 g&4g network(hina)
3 g&4g network(hina)3 g&4g network(hina)
3 g&4g network(hina)
heena94
 
Develop memory power, some effective techniques
Develop memory power, some effective techniquesDevelop memory power, some effective techniques
Develop memory power, some effective techniques
Babu Appat
 
3G&4G
3G&4G3G&4G
Memory game
Memory gameMemory game
Memory game
Alejandra Guaymas
 
3 Grade Memory Lesson 4ver2.Key
3 Grade Memory Lesson 4ver2.Key3 Grade Memory Lesson 4ver2.Key
3 Grade Memory Lesson 4ver2.Key
oots
 
Missing Object Memory Game -4-5
Missing Object Memory Game -4-5Missing Object Memory Game -4-5
Missing Object Memory Game -4-5
onedavidfletcher
 
Seminar On Ecommerce
Seminar On EcommerceSeminar On Ecommerce
Seminar On Ecommerce
S K Kumar
 
Memory Game
Memory GameMemory Game
Memory Game
Mari Pau
 
Memory Games
Memory GamesMemory Games
Memory Games
vacagodx
 
20 Game Ideas You Should Steal
20 Game Ideas You Should Steal20 Game Ideas You Should Steal
20 Game Ideas You Should Steal
Stuart Dredge
 
Video Game Powerpoint
Video Game PowerpointVideo Game Powerpoint
Video Game Powerpoint
Nari07
 
Visual Thinking Games
Visual Thinking GamesVisual Thinking Games
Visual Thinking Games
scottekim
 
Just add points? What UX can (and cannot) learn from games
Just add points? What UX can (and cannot) learn from gamesJust add points? What UX can (and cannot) learn from games
Just add points? What UX can (and cannot) learn from games
Sebastian Deterding
 
10 Ice Breaker Games - How to get to know your office
10 Ice Breaker Games - How to get to know your office10 Ice Breaker Games - How to get to know your office
10 Ice Breaker Games - How to get to know your office
Elodie A.
 

Viewers also liked (16)

E-Commerce Seminar (Intermediate to Advance)
E-Commerce Seminar (Intermediate to Advance)E-Commerce Seminar (Intermediate to Advance)
E-Commerce Seminar (Intermediate to Advance)
 
3 g&4g network(hina)
3 g&4g network(hina)3 g&4g network(hina)
3 g&4g network(hina)
 
Develop memory power, some effective techniques
Develop memory power, some effective techniquesDevelop memory power, some effective techniques
Develop memory power, some effective techniques
 
3G&4G
3G&4G3G&4G
3G&4G
 
Memory game
Memory gameMemory game
Memory game
 
3 Grade Memory Lesson 4ver2.Key
3 Grade Memory Lesson 4ver2.Key3 Grade Memory Lesson 4ver2.Key
3 Grade Memory Lesson 4ver2.Key
 
Missing Object Memory Game -4-5
Missing Object Memory Game -4-5Missing Object Memory Game -4-5
Missing Object Memory Game -4-5
 
Seminar On Ecommerce
Seminar On EcommerceSeminar On Ecommerce
Seminar On Ecommerce
 
Memory Game
Memory GameMemory Game
Memory Game
 
Memory Game
Memory GameMemory Game
Memory Game
 
Memory Games
Memory GamesMemory Games
Memory Games
 
20 Game Ideas You Should Steal
20 Game Ideas You Should Steal20 Game Ideas You Should Steal
20 Game Ideas You Should Steal
 
Video Game Powerpoint
Video Game PowerpointVideo Game Powerpoint
Video Game Powerpoint
 
Visual Thinking Games
Visual Thinking GamesVisual Thinking Games
Visual Thinking Games
 
Just add points? What UX can (and cannot) learn from games
Just add points? What UX can (and cannot) learn from gamesJust add points? What UX can (and cannot) learn from games
Just add points? What UX can (and cannot) learn from games
 
10 Ice Breaker Games - How to get to know your office
10 Ice Breaker Games - How to get to know your office10 Ice Breaker Games - How to get to know your office
10 Ice Breaker Games - How to get to know your office
 

Similar to Memory management

Memory Management
Memory ManagementMemory Management
Memory Management
Shipra Swati
 
Unit iiios Storage Management
Unit iiios Storage ManagementUnit iiios Storage Management
Unit iiios Storage Management
donny101
 
M20CA1030_391_2_Part2.pptx
M20CA1030_391_2_Part2.pptxM20CA1030_391_2_Part2.pptx
M20CA1030_391_2_Part2.pptx
HarikishnaKNHk
 
Opetating System Memory management
Opetating System Memory managementOpetating System Memory management
Opetating System Memory management
Johan Granados Montero
 
Memory Managementgggffffffffffgggggggggg
Memory ManagementgggffffffffffggggggggggMemory Managementgggffffffffffgggggggggg
Memory Managementgggffffffffffgggggggggg
BHUPESHRAHANGDALE200
 
Os lecture 5
Os lecture 5Os lecture 5
Os lecture 5
Dr. Ahmed J. Obaid
 
contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
Rajapriya82
 
Os functions
Os functionsOs functions
Os functions
Pushpraj Patel
 
Chap7
Chap7Chap7
Chap7
Mothi R
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
Mani Deepak Choudhry
 
Mtech admission in india
Mtech admission in indiaMtech admission in india
Mtech admission in india
Edhole.com
 
OS M1.1.pptx
OS M1.1.pptxOS M1.1.pptx
OS M1.1.pptx
bleh23
 
unit5_os (1).pptx
unit5_os (1).pptxunit5_os (1).pptx
unit5_os (1).pptx
PriyankaJadhav218236
 
Mca admissions in india
Mca admissions in indiaMca admissions in india
Mca admissions in india
Edhole.com
 
Discovering Robustness Amongst CBIR Features
Discovering Robustness Amongst CBIR Features     Discovering Robustness Amongst CBIR Features
Discovering Robustness Amongst CBIR Features
dannyijwest
 
A Review of Memory Allocation and Management in Computer Systems
A Review of Memory Allocation and Management in Computer SystemsA Review of Memory Allocation and Management in Computer Systems
A Review of Memory Allocation and Management in Computer Systems
CSEIJJournal
 
Computer Science & Engineering: An International Journal (CSEIJ)
Computer Science & Engineering: An International Journal (CSEIJ)Computer Science & Engineering: An International Journal (CSEIJ)
Computer Science & Engineering: An International Journal (CSEIJ)
cseij
 
A REVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
A REVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMSA REVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
A REVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
cseij
 
VIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
VIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMSVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
VIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
cseij
 
6416cseij01
6416cseij016416cseij01
6416cseij01
cseij
 

Similar to Memory management (20)

Memory Management
Memory ManagementMemory Management
Memory Management
 
Unit iiios Storage Management
Unit iiios Storage ManagementUnit iiios Storage Management
Unit iiios Storage Management
 
M20CA1030_391_2_Part2.pptx
M20CA1030_391_2_Part2.pptxM20CA1030_391_2_Part2.pptx
M20CA1030_391_2_Part2.pptx
 
Opetating System Memory management
Opetating System Memory managementOpetating System Memory management
Opetating System Memory management
 
Memory Managementgggffffffffffgggggggggg
Memory ManagementgggffffffffffggggggggggMemory Managementgggffffffffffgggggggggg
Memory Managementgggffffffffffgggggggggg
 
Os lecture 5
Os lecture 5Os lecture 5
Os lecture 5
 
contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
 
Os functions
Os functionsOs functions
Os functions
 
Chap7
Chap7Chap7
Chap7
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
 
Mtech admission in india
Mtech admission in indiaMtech admission in india
Mtech admission in india
 
OS M1.1.pptx
OS M1.1.pptxOS M1.1.pptx
OS M1.1.pptx
 
unit5_os (1).pptx
unit5_os (1).pptxunit5_os (1).pptx
unit5_os (1).pptx
 
Mca admissions in india
Mca admissions in indiaMca admissions in india
Mca admissions in india
 
Discovering Robustness Amongst CBIR Features
Discovering Robustness Amongst CBIR Features     Discovering Robustness Amongst CBIR Features
Discovering Robustness Amongst CBIR Features
 
A Review of Memory Allocation and Management in Computer Systems
A Review of Memory Allocation and Management in Computer SystemsA Review of Memory Allocation and Management in Computer Systems
A Review of Memory Allocation and Management in Computer Systems
 
Computer Science & Engineering: An International Journal (CSEIJ)
Computer Science & Engineering: An International Journal (CSEIJ)Computer Science & Engineering: An International Journal (CSEIJ)
Computer Science & Engineering: An International Journal (CSEIJ)
 
A REVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
A REVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMSA REVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
A REVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
 
VIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
VIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMSVIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
VIEW OF MEMORY ALLOCATION AND MANAGEMENT IN COMPUTER SYSTEMS
 
6416cseij01
6416cseij016416cseij01
6416cseij01
 

Recently uploaded

PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
สมใจ จันสุกสี
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 

Recently uploaded (20)

PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
คำศัพท์ คำพื้นฐานการอ่าน ภาษาอังกฤษ ระดับชั้น ม.1
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 

Memory management

  • 1. Seminar Presentation On MEMORY MANAGEMENT Submitted By:- Sohil Sundaram BCA – 2nd SEM Roll No. 30 Submitted To:- Mr. Dinesh Dobhal Sohil Sundaram, 30
  • 2. OPERATING SYSTEM  Program to manage Computer Hardware.  Provide base for Application programs.  Acts as an intermediary between user and hardware.  Supports Complex games, business applications, etc. . Sohil Sundaram, 30
  • 3. Memory - Definition  Physical device capable of storing information.  Is central to the operation of a modern computer system.  Consists of large array of words or bytes, each with its own address. Sohil Sundaram, 30
  • 4. NEED OF MEMORY MANAGEMENT  To manage the Primary Memory of OS.  To optimize overall performance of Computer System.  Helps in CPU Scheduling. Sohil Sundaram, 30
  • 5. Working Process  Determines how memory is allocate among competing processes ?  Which get memory and how much ?  Which memory location ?  After Execution, free the memory. Sohil Sundaram, 30
  • 6. Address Binding  To Bring the process into memory.  Compile Time : Process reside in memory.  Load Time : Compiler generate relocatable table  Execution Time : Moved from one segment from another. Sohil Sundaram, 30
  • 7. Logical vs Physical Address  Address generated by the CPU is called Logical Address.  Physical address is which is seen by the memory unit.  Compile time and Load time has same impact on both addresses while they differ in Execution time address binding. Sohil Sundaram, 30
  • 8. Dynamic Loading  Entire programs must be in Physical memory to execute.  Size of process is limited to the size of physical memory.  Main program is loaded into memory and is executed.  Control is loaded or passed to the newly loaded routine. Sohil Sundaram, 30
  • 9. SWAPPING  Process can be swapped temporarily out of memory and then brought back into memory for continued execution.  In the mean time, CPU scheduler will allocate a time slice to other process in memory.  When each process finishes its quantum, it will be swapped with another processes.  The quantum must be large enough that reasonable amount of computing can be done b/w swaps. Sohil Sundaram, 30
  • 10. Contiguous Memory Allocation  Main memory must accommodate with the operating system and the various user processes.  Divided into two portions:  Resident Operating system.  User process. Sohil Sundaram, 30
  • 11. Memory Allocation  Simplest method is to divide memory into several fixed partitions.  Each partition may contain exactly one process.  When a partition in free, a process is selected from the input queue and is loaded into the free partitions.  Hole is searched for a new process.  We allocate as much memory that is needed.  When space allocated, it is loaded into memory and then compete for the CPU.  After Termination, it releases the memory. Sohil Sundaram, 30
  • 12. Selection of Hole  First – Fit :- Allocate the first hole that is big enough. Searching can start at the beginning or where the previous first-fit search ended.  Best – Fit :- Allocate the smallest hole that is big enough. Search the entire list, unless the list is kept ordered by size.  Worst – Fit :- Allocate the largest hole. Search the entire list unless it is sorted by size. Sohil Sundaram, 30
  • 13. Fragmentation  It can be internal as well as external.  Break Physical memory into fixed size of blocks and allocate memory in unit of block sizes.  Memory allocated to process may be slightly larger than requested memory. Sohil Sundaram, 30
  • 14. PAGING  Is a Memory Management Scheme that permits the physical address space of a process to be non-contiguous.  Is used in many operating system.  Physical memory breaks into fixed sized blocks called Frames.  Logical memory also breaks into blocks of the same size called Pages. Sohil Sundaram, 30
  • 15. CONCLUSION  Memory Management – ways to manage Memory.  Memory management is a function responsible for managing the computers primary memory.  It keeps the status of the memory whether free or allocated or free.  It determines how memory is allocated among competing processes. How they will get it and how much they will get it. Sohil Sundaram, 30