23 April 2026

RAM and virtual memory

RAM

RAM (Random Access Memory) is temporary memory that stores open apps, data, and instructions while the device is running.

Important points:

  • More RAM usually means better performance.
  • RAM is used when programs are open and active.

Virtual memory

If RAM is not enough, the OS can use part of the storage medium as virtual memory.

Paging

The process of moving data between storage and RAM is called paging.
Paging is useful, but it is slower than real RAM.

Example:

  • RAM = work desk
  • Storage = cupboard
  • Virtual memory = extra temporary space when the desk is full
 

Tiada ulasan:

Catat Ulasan