Save
computer scuecven
Paging, sgementation and memory
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
hazaiah g
Visit profile
Cards (13)
Memory management
1.
Paging
2.
Segmentation
3.
Virtual memory
View source
Main memory
Loads
operating system
Loads
programs
A, B, C, D
Program C closed, memory
released
Program E
arrives
but doesn't
fit
View source
Paging
Memory
divided into
fixed-size pages
, programs split to fit these pages
View source
Segmentation
Memory
divided into
variable-size
logical sections of programs, programs split to fit these sections
View source
Similarities and differences between
paging
and
segmentation
Pause
video to
take notes
View source
Main
memory becomes
full
Virtual
memory used
View source
Virtual memory
Storing programs and data on
hard
disk when not in use, swapping with
RAM
as needed
View source
Virtual memory
gives the impression of
more memory
than actually available
View source
Handling running out of memory
Swapping programs between RAM and virtual memory on
hard disk
Slows down
computer performance
View source
Virtual addresses
are used to access data stored in
physical memory
or on disk.
Paging involves
dividing
the virtual address into two parts - page number (page frame) and
offset
within the page.
The virtual address space is the total amount of memory that can be accessed by an
application.
The operating system manages the
mapping
of virtual addresses to physical locations using page
tables.