Study this topic

Virtual Memory and Demand Paging

Virtual memory separates the logical memory a program sees from the physical memory it occupies, so that a process need not be entirely in memory to run. Programs often contain error-handling code that rarely runs, arrays declared larger than they are used, and features few users touch.

Short notes11 min read

Page Replacement Algorithms

When a page fault occurs and no frame is free, the operating system must evict a page already in memory: the victim. The choice matters.

Short notes12 min read