Please enable JavaScript.
Coggle requires JavaScript to display documents.
Memory (Area (App (Problems (Premature frees and dangling pointers, Memory…
Memory
Area
Hardware
RAM
Memory Cache
OS
Virtual Memory
Virtual Address Space
Backing Store
MMU
App
Task
Allocation
First Fit
Scan free list
use 1st free block to satisfy request
Buddy System
only allocate certain size
round up request size
Suballocator
Recycling
Tracing collectors
Mark-sweep collection
Coying collection
Incremental collection
Conservative gc
Reference counts
Simple
Deferred
One-bit
Weighted
Constraint
CPU Overhead
Pause Time
Memory Overhead
Admin
Rounding
internal Fragmentation
Reason
padding
buddy system
in-band header
Allocate more than requested
Poor Layout
external Fragmentation
free divided into small block
Problems
Premature frees and dangling pointers
Memory Leak
External fragmentation
Poor locality of reference
Inflexible design
Interface complexity