Seneca

Running Out of Memory

Computer Science: OCR GCSE, topic 1.2.5

Running out of Memory

To fix low memory, we can install more RAM, use virtual memory, or terminate processes.

Installing more RAM

Installing more RAM

  • When we run out of RAM, we can purchase and install more RAM so that we can store more data.
  • Installing more RAM is not always ideal because:
  • RAM can be expensive.
  • We may only need more memory on a temporary basis.
Virtual memory

Virtual memory

  • Virtual Memory is a technique where we use secondary storage as if it were RAM.
  • Virtual memory is not always ideal since:
  • Virtual Memory can have negative impacts on performance.
  • Virtual Memory can have negative impacts on the health of Solid State Disks (SSDs).
  • We might have limited space in secondary storage.
Terminating processes

Terminating processes

  • Each program/process will use a certain amount of memory.
  • By closing some processes that we are not using, we can free the memory that they are using.
  • Terminating processes is not always possible because we may need all the processes.

Test yourself on Running Out of Memory

  • What can we do if we run out of main memory?

  • Why might we choose not to purchase more Random Access Memory (RAM)?

  • A laptop has almost no free space left in its secondary storage. What problem would this cause if the laptop relies on virtual memory?

  • A computer has run out of memory. All the open programs are needed and there is no money to spend. Which method described would fit this situation best?

Practise this topic for free