Purpose of virtual memory
Someone asks you, "If a device has plenty of physical memory, why do we even need virtual memory?" How would you answer?
Someone asks you, "If a device has plenty of physical memory, why do we even need virtual memory?" How would you answer?
Virtual memory exists to give each process an isolated, protected address space, enable lazy loading and shared library mapping, and provide contiguous addresses, none of which is about capacity, so you need it however large physical memory gets.
Memory and ARCShort answerAdvanced
Sometimes an app you sent to the background comes back and starts from scratch. Explain…
#virtual-memory #jetsam
CS fundamentals and algorithmsShort answerBasics
What's the difference between a process and a thread? What do threads share, and what…
#os
App lifecycle and systemShort answerBasics
How do the process states from an OS class (new, ready, running, waiting, terminated) map…
#jetsam
Memory and ARCShort answerIntro
What is a memory leak?
#jetsam