
Demand Paging
Demand paging is a memory management technique used by operating systems to optimize the use of RAM. Instead of loading an entire program into memory at startup, the system only loads the parts needed right away. When a program tries to access a piece of data that isn't currently in memory, the system retrieves it from the disk on demand. This process helps conserve memory and allows for running larger applications, as only the necessary sections are loaded as needed, improving efficiency and performance.