Computer memory hardware, representing memory paging.

How an OS splits memory into fixed-size pages to manage it.

What paging is

Paging is a memory-management technique used by operating systems to organize memory into fixed-size blocks called pages. Rather than handling memory as one large, continuous space, the system divides it into these equal-sized pieces, which makes memory much easier to allocate, track, and manage. Paging is a foundational part of how modern operating systems give programs memory to use while keeping the whole system organized and efficient.

Pages and frames

In a paging system, the memory that programs see is divided into equal units called pages, and the physical memory of the computer is divided into equal units of the same size, often called frames. The operating system maps pages to frames, keeping track of where each page actually lives in physical memory. Because the pieces are all the same size, any page can go into any free frame, which makes fitting things into memory far simpler.

Why paging helps

Paging solves a difficult problem: fitting many programs into limited memory without the memory becoming hopelessly fragmented. Because pages are a fixed size and can be placed in any available frame, the system does not need to find a single large, continuous block for each program. This flexibility lets memory be used efficiently, with the pieces of a program scattered across physical memory while the program sees a tidy, continuous space.

Paging and storage

Paging also enables a powerful capability: using storage to extend memory. Pages that are not currently needed can be moved out of fast physical memory to slower storage, freeing up frames for other uses, and brought back when needed again. This lets a computer behave as if it has more memory than it physically does. The operating system manages this movement behind the scenes, deciding which pages to keep in memory and which to set aside.

The role of mapping

Central to paging is the mapping between the pages a program uses and the actual frames in physical memory. The operating system, with help from the hardware, maintains this mapping and translates the program's view of memory into real physical locations as the program runs. This translation happens constantly and quickly, and it is what allows each program to have its own simple, consistent view of memory while the system juggles everything underneath.

Why it matters

Paging is one of the key techniques that make modern multitasking computers possible, letting many programs share memory efficiently and flexibly. Understanding what paging is - dividing memory into fixed-size pages mapped to physical frames - clarifies how operating systems manage memory and stretch it using storage. For anyone curious about how computers handle memory behind the scenes, paging is a central and rewarding concept.

See also: What is virtual memory? Explained simply, What is a kernel? Explained simply.

Sources

Published date reflects the original event date (2023-06-13). This article is original Skillo editorial written from the sources above; facts were verified in September 2026.

Skillo Staff

Skillo Staff

All stories by: Skillo Staff

Leave a Reply