Virtual Memory - Computer Science: OCR GCSE (2024)

Running out of Memory

There are many approaches that we might take when we are running low on memory:

Virtual Memory - Computer Science: OCR GCSE (1)Virtual Memory - Computer Science: OCR GCSE (2)

Installing more Random-Access Memory

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

Virtual Memory - Computer Science: OCR GCSE (3)Virtual Memory - Computer Science: OCR GCSE (4)

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.

Virtual Memory - Computer Science: OCR GCSE (5)Virtual Memory - Computer Science: OCR GCSE (6)

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.
  • This is not always possible because we may need all the processes.

How Virtual Memory Works

Virtual Memory allows us to access more memory than we have by setting aside some secondary storage space to act as extra memory.

Virtual Memory - Computer Science: OCR GCSE (7)Virtual Memory - Computer Science: OCR GCSE (8)

Paging

  • Memory can be split into sections called 'pages'.
  • Virtual Memory works by moving these pages between the Random Access Memory (RAM) and the secondary storage.

Virtual Memory - Computer Science: OCR GCSE (9)Virtual Memory - Computer Science: OCR GCSE (10)

Move pages to Hard Disk Drive (HDD)

  • If a page is not being used, then we might want to put it into Virtual Memory.
  • When a page is moved to the HDD and not being used, it is put into a special file called the pagefile.
  • Other processes can then use the memory that we just freed in the RAM.

Virtual Memory - Computer Science: OCR GCSE (11)Virtual Memory - Computer Science: OCR GCSE (12)

Move pages to RAM

  • When we want to use a page again, we first need to move it back to the RAM.
  • We do this by swapping the page that we want with one that is already in the RAM.

1Computer Systems

1.1Systems Architecture

1.2Memory & Storage

1.3Computer Networks, Connections & Protocols

1.3.1Benefit of Networks

1.3.2Network Performance

1.3.3Networks: How Do Packets Get Routed?

1.3.4Types of Networks

1.3.5Client-Server Model

1.3.6Pros & Cons of Client-Server Model

1.3.7Peer-to-Peer Model

1.3.8Pros & Cons of Peer-to-Peer Model

1.3.9Network Hardware

1.3.10What is the Internet?

1.3.11URLs

1.3.12DNS & Web Hosting

1.3.13The Cloud

1.3.14Pros & Cons of the Cloud

1.3.15Exam-Style Questions - Networking Models

1.3.16Topology

1.3.17WiFi

1.3.18WiFi Encryption

1.3.19IP Addresses

1.3.20MAC Addresses

1.3.21Network Protocols

1.3.22Application Protocols

1.3.23Layers

1.3.24Advantages of Layering

1.3.25Exam-Style Questions - Network Protocols

1.4Network Security

1.5Systems Software

1.6Ethical, Legal, Cultural & Environmental Concern

2Computational Thinking, Algorithms and Programming

2.1Algorithms

2.2Programming Fundamentals

2.3Producing Robust Programs

2.4Boolean Logic

2.5Programming Languages & IDEs

Jump to other topics

1Computer Systems

1.1Systems Architecture

1.2Memory & Storage

1.3Computer Networks, Connections & Protocols

1.4Network Security

1.5Systems Software

1.6Ethical, Legal, Cultural & Environmental Concern

2Computational Thinking, Algorithms and Programming

2.1Algorithms

2.2Programming Fundamentals

2.3Producing Robust Programs

2.4Boolean Logic

2.5Programming Languages & IDEs

Virtual Memory - Computer Science: OCR GCSE (13)

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson

Virtual Memory - Computer Science: OCR GCSE (2024)
Top Articles
What Is a Good P/E Ratio? A Beginner's Guide
How quickly can I get my money out of an ETF?
Kostner Wingback Bed
How To Fix Epson Printer Error Code 0x9e
Zabor Funeral Home Inc
Tj Nails Victoria Tx
Craigslist Mexico Cancun
Mylaheychart Login
Fototour verlassener Fliegerhorst Schönwald [Lost Place Brandenburg]
27 Places With The Absolute Best Pizza In NYC
Monticello Culver's Flavor Of The Day
Umn Biology
Goldsboro Daily News Obituaries
Amelia Bissoon Wedding
More Apt To Complain Crossword
Wisconsin Women's Volleyball Team Leaked Pictures
I Touch and Day Spa II
Hocus Pocus Showtimes Near Amstar Cinema 16 - Macon
Urban Airship Expands its Mobile Platform to Transform Customer Communications
Nick Pulos Height, Age, Net Worth, Girlfriend, Stunt Actor
Royal Cuts Kentlands
Craigslist Pinellas County Rentals
Hewn New Bedford
Cbssports Rankings
Team C Lakewood
Aes Salt Lake City Showdown
Highmark Wholecare Otc Store
Reser Funeral Home Obituaries
Arlington Museum of Art to show shining, shimmering, splendid costumes from Disney Archives
Lcsc Skyward
Lawrence Ks Police Scanner
Lincoln Financial Field, section 110, row 4, home of Philadelphia Eagles, Temple Owls, page 1
Http://N14.Ultipro.com
Kltv Com Big Red Box
Www Craigslist Com Shreveport Louisiana
Metra Union Pacific West Schedule
Appleton Post Crescent Today's Obituaries
Boggle BrainBusters: Find 7 States | BOOMER Magazine
Hannibal Mo Craigslist Pets
Craigslist Boats Eugene Oregon
Midsouthshooters Supply
The disadvantages of patient portals
Craigslist Gigs Wichita Ks
Hazel Moore Boobpedia
National Weather Service Richmond Va
What is 'Breaking Bad' star Aaron Paul's Net Worth?
Movie Hax
Ajpw Sugar Glider Worth
4Chan Zelda Totk
25100 N 104Th Way
Diccionario De Los Sueños Misabueso
Otter Bustr
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 6032

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.