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
Can Stocks Go Negative? (How Much Can You Lose on a Stock?)
Buy Bitcoin & Crypto | Crypto Exchange, App & Wallet
This website is unavailable in your location. – WSB-TV Channel 2 - Atlanta
Fan Van Ari Alectra
My Arkansas Copa
Metallica - Blackened Lyrics Meaning
Cooking Chutney | Ask Nigella.com
Chambersburg star athlete JJ Kelly makes his college decision, and he’s going DI
Archived Obituaries
Prosper TX Visitors Guide - Dallas Fort Worth Guide
Fully Enclosed IP20 Interface Modules To Ensure Safety In Industrial Environment
San Diego Terminal 2 Parking Promo Code
Craigslist In South Carolina - Craigslist Near You
Gameplay Clarkston
Nikki Catsouras Head Cut In Half
Victoria Secret Comenity Easy Pay
Best Theia Builds (Talent | Skill Order | Pairing + Pets) In Call of Dragons - AllClash
Jesse Mckinzie Auctioneer
Meg 2: The Trench Showtimes Near Phoenix Theatres Laurel Park
Mawal Gameroom Download
Craigslist In Visalia California
Jbf Wichita Falls
Www.patientnotebook/Atic
UMvC3 OTT: Welcome to 2013!
Ihub Fnma Message Board
Hdmovie2 Sbs
Elbert County Swap Shop
Deshuesadero El Pulpo
Pawn Shop Moline Il
Ihs Hockey Systems
Lincoln Financial Field, section 110, row 4, home of Philadelphia Eagles, Temple Owls, page 1
134 Paige St. Owego Ny
Shaman's Path Puzzle
Haley Gifts :: Stardew Valley
Craigslist Org Sf
Www Violationinfo Com Login New Orleans
Selfservice Bright Lending
Vip Lounge Odu
Bcy Testing Solution Columbia Sc
Three V Plymouth
Smite Builds Season 9
Nami Op.gg
Poe Self Chill
Ssc South Carolina
Copd Active Learning Template
Neil Young - Sugar Mountain (2008) - MusicMeter.nl
Joy Taylor Nip Slip
Jeep Forum Cj
7 Sites to Identify the Owner of a Phone Number
Yoshidakins
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.