SlideShare a Scribd company logo
Globalwebtutors.com is an online tutors Platform Which has
following Services:
•HOMEWORK HELP
•DISSERTATION EDITING
•ASSIGNMENT HELP
•QUESTION HELP
Send Requirement at Support@globalwebtutors.com or
connect to us on Live chat instant anytime.
Memory management is the functionality of an operating
system which handles or manages primary memory and
moves processes back and forth between main memory and
disk during execution.
Memory management keeps track of each and every
memory location, regardless of either it is allocated to some
process or it is free.
It checks how much memory is to be allocated to processes.
It decides which process will get memory at what time.
It tracks whenever some memory gets freed or unallocated
and correspondingly it updates the status.
Memory management Assignment Help
The process address space is the set of logical addresses that
a process references in its code.
The operating system takes care of mapping the logical
addresses to physical addresses at the time of memory
allocation to the program.
There are three types of addresses:
Symbolic addresses
Relative addresses
Physical addresses
Memory management Assignment Help
Virtual and physical addresses are the same in compile
time and load-time address-binding schemes.
Virtual and physical addresses differ in execution-time
address-binding scheme.
The set of all logical addresses generated by a program is referred to
as a logical address space.
The set of all physical addresses corresponding to these logical
addresses is referred to as a physical address space.
The runtime mapping from virtual to physical address is done by the
memory management unit (MMU) which is a hardware device.
At the time of loading, with static loading, the absolute
program (and data) is loaded into memory in order for execution
to start
If you are using dynamic loading, dynamic routines of the
library are stored on a disk in relocatable form and are loaded
into memory only when they are needed by the program.
When dynamic linking is used, it is not required to link the
actual module or library with the program, rather a reference to
the dynamic module is provided at the time of compilation and
linking.
Dynamic Link Libraries (DLL) in Windows and Shared
Objects in Unix are good examples of dynamic libraries.
Memory management Assignment Help
Swapping is a mechanism in which a process can be swapped
temporarily out of main memory (or move) to secondary storage (disk)
and make that memory available to other processes.
At some later time, the system swaps back the process from the
secondary storage to main memory.
Though performance is usually affected by swapping process but it
helps in running multiple and big processes in parallel and that's the
reason Swapping is also known as a technique for memory compaction.
The total time taken by swapping process includes the time it takes to
move the entire process to a secondary disk and then to copy the process
back to memory, as well as the time the process takes to regain main
memory.
Single-partition allocation
In this type of allocation, relocation-register scheme is used to protect user
processes from each other, and from changing operating-system code and data.
Relocation register contains value of smallest physical address whereas limit
register contains range of logical addresses. Each logical address must be less
than the limit register.
Multiple-partition allocation
In this type of allocation, main memory is divided into a number of fixed-sized
partitions where each partition should contain only one process. When a
partition is free, a process is selected from the input queue and is loaded into
the free partition. When the process terminates, the partition becomes
available for another process
Memory management Assignment Help
External fragmentation
Total memory space is enough to satisfy a request or to reside a
process in it, but it is not contiguous, so it cannot be used.
Internal fragmentation
Memory block assigned to process is bigger. Some portion of
memory is left unused, as it cannot be used by another process.
Memory management Assignment Help
Paging is a memory management technique in which process address space is
broken into blocks of the same size called pages (size is power of 2, between 512
bytes and 8192 bytes).
The size of the process is measured in the number of pages.
The extra memory is actually called virtual memory and it is a section of a
hard that's set up to emulate the computer's RAM.
Paging technique plays an important role in implementing virtual memory.
main memory is divided into small fixed-sized blocks of (physical) memory
called frames and the size of a frame is kept the same as that of a page to have
optimum utilization of the main memory and to avoid external fragmentation.
Memory management Assignment Help
Page address is called logical address and represented by page
numberand the offset.
Logical Address = Page number + page offset
Frame address is called physical address and represented by a frame
number and the offset.
Physical Address = Frame number + page offset
A data structure called page map table is used to keep track of the
relation between a page of a process to a frame in physical memory.
Memory management Assignment Help
Segmentation is a memory management technique in which each job is
divided into several segments of different sizes, one for each module that
contains pieces that perform related functions.
Each segment is actually a different logical address space of the
program.
When a process is to be executed, its corresponding segmentation are
loaded into non-contiguous memory though every segment is loaded into
a contiguous block of available memory
The operating system maintains a segment map table for every process
and a list of free memory blocks along with segment numbers, their size
and corresponding memory locations in main memory.
FOR MORE INFORMATION YOU
CAN GO TO THIS LINK:
http://www.globalwebtutors.com/memory
-management-assignment-help

More Related Content

PPTX
Flowshop scheduling
PPTX
Processor Organization and Architecture
PPT
Defect Testing in Software Engineering SE20
PPT
Memory management
PPTX
Central Processing Unit(CPU)
PPTX
Computer Organisation & Architecture (chapter 1)
PPTX
Memory hierarchy
PPTX
Arithmetic and RISC pipeline
Flowshop scheduling
Processor Organization and Architecture
Defect Testing in Software Engineering SE20
Memory management
Central Processing Unit(CPU)
Computer Organisation & Architecture (chapter 1)
Memory hierarchy
Arithmetic and RISC pipeline

What's hot (20)

PPTX
Memory management ppt
PPT
Computer Memory
PPTX
PPTX
Game playing in AI
PPTX
Virtual Memory
PPT
Memory Management in OS
PPT
IO Management
PPT
Memory management
PDF
Hazards in pipeline
PPTX
Multi threaded programming
PPTX
Processor organization & register organization
PPTX
Direct memory access (dma)
PPT
Deadlocks in operating system
PPTX
Emotion recognition
PPTX
Operating system paging and segmentation
PPS
Virtual memory
PPTX
TOWARDS DETECTION CYBER ATTACKS PPT 1.pptx
PPTX
Memory management
PPT
Cache Memory
PPTX
Fundamental data structure
Memory management ppt
Computer Memory
Game playing in AI
Virtual Memory
Memory Management in OS
IO Management
Memory management
Hazards in pipeline
Multi threaded programming
Processor organization & register organization
Direct memory access (dma)
Deadlocks in operating system
Emotion recognition
Operating system paging and segmentation
Virtual memory
TOWARDS DETECTION CYBER ATTACKS PPT 1.pptx
Memory management
Cache Memory
Fundamental data structure
Ad

Similar to Memory management Assignment Help (20)

PPTX
Memory Management in System Designing.pptx
PPTX
Operating system memory management
PPTX
Os unit 2
PPTX
Paging +Algorithem+Segmentation+memory management
PPTX
Memory Management in Operating Systems ppt.pptx
PPT
Unit 5 Memory management System in OS.ppt
PPTX
Unit 5 Memory management in OS Unit 5 Memory management in OS
DOCX
Operating system
PDF
Operating system Memory management
DOCX
Opetating System Memory management
PPTX
chapter 2 memory and process management
PPT
Chapter 2 part 1
PDF
muja osjkkhkhkkhkkkfdxfdfddkhvjlbjljlhgg
PPTX
Virtual circuit and Datagram network
PPTX
Memory management in operating system | Paging | Virtual memory
PPTX
Memory Management
PPTX
Memory Managementgggffffffffffgggggggggg
PDF
Memory Management(MM) in operating system
PPTX
M20CA1030_391_2_Part2.pptx
Memory Management in System Designing.pptx
Operating system memory management
Os unit 2
Paging +Algorithem+Segmentation+memory management
Memory Management in Operating Systems ppt.pptx
Unit 5 Memory management System in OS.ppt
Unit 5 Memory management in OS Unit 5 Memory management in OS
Operating system
Operating system Memory management
Opetating System Memory management
chapter 2 memory and process management
Chapter 2 part 1
muja osjkkhkhkkhkkkfdxfdfddkhvjlbjljlhgg
Virtual circuit and Datagram network
Memory management in operating system | Paging | Virtual memory
Memory Management
Memory Managementgggffffffffffgggggggggg
Memory Management(MM) in operating system
M20CA1030_391_2_Part2.pptx
Ad

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Insiders guide to clinical Medicine.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Institutional Correction lecture only . . .
PPTX
Cell Structure & Organelles in detailed.
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PPTX
Pharma ospi slides which help in ospi learning
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Lesson notes of climatology university.
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
Insiders guide to clinical Medicine.pdf
Anesthesia in Laparoscopic Surgery in India
FourierSeries-QuestionsWithAnswers(Part-A).pdf
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Computing-Curriculum for Schools in Ghana
Institutional Correction lecture only . . .
Cell Structure & Organelles in detailed.
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
STATICS OF THE RIGID BODIES Hibbelers.pdf
Pharma ospi slides which help in ospi learning
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Lesson notes of climatology university.
GDM (1) (1).pptx small presentation for students
human mycosis Human fungal infections are called human mycosis..pptx
01-Introduction-to-Information-Management.pdf
Final Presentation General Medicine 03-08-2024.pptx

Memory management Assignment Help

  • 1. Globalwebtutors.com is an online tutors Platform Which has following Services: •HOMEWORK HELP •DISSERTATION EDITING •ASSIGNMENT HELP •QUESTION HELP Send Requirement at Support@globalwebtutors.com or connect to us on Live chat instant anytime.
  • 2. Memory management is the functionality of an operating system which handles or manages primary memory and moves processes back and forth between main memory and disk during execution. Memory management keeps track of each and every memory location, regardless of either it is allocated to some process or it is free. It checks how much memory is to be allocated to processes. It decides which process will get memory at what time. It tracks whenever some memory gets freed or unallocated and correspondingly it updates the status.
  • 4. The process address space is the set of logical addresses that a process references in its code. The operating system takes care of mapping the logical addresses to physical addresses at the time of memory allocation to the program. There are three types of addresses: Symbolic addresses Relative addresses Physical addresses
  • 6. Virtual and physical addresses are the same in compile time and load-time address-binding schemes. Virtual and physical addresses differ in execution-time address-binding scheme. The set of all logical addresses generated by a program is referred to as a logical address space. The set of all physical addresses corresponding to these logical addresses is referred to as a physical address space. The runtime mapping from virtual to physical address is done by the memory management unit (MMU) which is a hardware device.
  • 7. At the time of loading, with static loading, the absolute program (and data) is loaded into memory in order for execution to start If you are using dynamic loading, dynamic routines of the library are stored on a disk in relocatable form and are loaded into memory only when they are needed by the program. When dynamic linking is used, it is not required to link the actual module or library with the program, rather a reference to the dynamic module is provided at the time of compilation and linking. Dynamic Link Libraries (DLL) in Windows and Shared Objects in Unix are good examples of dynamic libraries.
  • 9. Swapping is a mechanism in which a process can be swapped temporarily out of main memory (or move) to secondary storage (disk) and make that memory available to other processes. At some later time, the system swaps back the process from the secondary storage to main memory. Though performance is usually affected by swapping process but it helps in running multiple and big processes in parallel and that's the reason Swapping is also known as a technique for memory compaction. The total time taken by swapping process includes the time it takes to move the entire process to a secondary disk and then to copy the process back to memory, as well as the time the process takes to regain main memory.
  • 10. Single-partition allocation In this type of allocation, relocation-register scheme is used to protect user processes from each other, and from changing operating-system code and data. Relocation register contains value of smallest physical address whereas limit register contains range of logical addresses. Each logical address must be less than the limit register. Multiple-partition allocation In this type of allocation, main memory is divided into a number of fixed-sized partitions where each partition should contain only one process. When a partition is free, a process is selected from the input queue and is loaded into the free partition. When the process terminates, the partition becomes available for another process
  • 12. External fragmentation Total memory space is enough to satisfy a request or to reside a process in it, but it is not contiguous, so it cannot be used. Internal fragmentation Memory block assigned to process is bigger. Some portion of memory is left unused, as it cannot be used by another process.
  • 14. Paging is a memory management technique in which process address space is broken into blocks of the same size called pages (size is power of 2, between 512 bytes and 8192 bytes). The size of the process is measured in the number of pages. The extra memory is actually called virtual memory and it is a section of a hard that's set up to emulate the computer's RAM. Paging technique plays an important role in implementing virtual memory. main memory is divided into small fixed-sized blocks of (physical) memory called frames and the size of a frame is kept the same as that of a page to have optimum utilization of the main memory and to avoid external fragmentation.
  • 16. Page address is called logical address and represented by page numberand the offset. Logical Address = Page number + page offset Frame address is called physical address and represented by a frame number and the offset. Physical Address = Frame number + page offset A data structure called page map table is used to keep track of the relation between a page of a process to a frame in physical memory.
  • 18. Segmentation is a memory management technique in which each job is divided into several segments of different sizes, one for each module that contains pieces that perform related functions. Each segment is actually a different logical address space of the program. When a process is to be executed, its corresponding segmentation are loaded into non-contiguous memory though every segment is loaded into a contiguous block of available memory The operating system maintains a segment map table for every process and a list of free memory blocks along with segment numbers, their size and corresponding memory locations in main memory.
  • 19. FOR MORE INFORMATION YOU CAN GO TO THIS LINK: http://www.globalwebtutors.com/memory -management-assignment-help