Have you noticed that your laptop slows down when working with several programs at the same time? Perhaps the problem lies in the lack random access memory (RAM). But what if upgrading physical modules is impossible or too expensive? Is there a way increase RAM at the expense of hard drive or SSD resources?

Yes, such technologies exist - and they are available even on budget laptops. In this article we will look at three proven methods: use ReadyBoost (for HDD/USB), setup swap file and creation virtual memory on SSD. Each of them has its own nuances: in some places you will gain in performance, but in others you risk reducing the service life of the drive. We will explain in detail, which method gives the maximum speed increase with minimal disk wear, and show step-by-step instructions for Windows 10 And Windows 11.

1. ReadyBoost: how to speed up a laptop using a flash drive or HDD

ReadyBoost - technology from Microsoft that allows you to use external drives (USB flash drives, SD cards or even a HDD partition) as additional cache memory for frequently accessed data. This is not a full increase in RAM, but in some scenarios (for example, when working with office programs) the speed increase reaches 10–15%.

The technology works on the principle caching: The system analyzes which files you use most often and stores them on a fast storage device (such as USB 3.0). When you again need this file, it will be loaded from a flash drive, and not from a slow HDD. Important: ReadyBoost is only effective on mechanical hard drives (HDD) — on SSD the increase will be minimal or negative due to wear and tear of the memory cells.

  • Pros: easy setup, does not require disassembling the laptop, works on any version of Windows (starting with Vista).
  • Cons: will not help with resource-intensive tasks (games, rendering, programming), takes up space on the drive.
  • 🔧 Requirements: flash drive or SD card with a capacity of 1 GB (optimally 4–8 GB), read/write speed of at least 2.5 MB/s (for USB 2.0) or 5 MB/s (for USB 3.0).

How to enable ReadyBoost:

  1. Connect a flash drive or SD card to your laptop.
  2. Open This computer, find your drive, right-click and select Properties.
  3. Go to the tab ReadyBoost.
  4. Select an option Use this device and specify the volume (recommended 1–3× RAM capacity).
  5. Click Apply and reboot your laptop.
📊 What type of drive do you use in your laptop?
  • HDD only
  • SSD + HDD
  • SSD only
  • I don't know

2. Page file (pagefile.sys): setting up virtual memory

Swap file is a hidden system file (pagefile.sys), which Windows uses as RAM expansion. When RAM runs out, the system transfers some of the data to this file on the hard drive. By default, Windows manages the paging file size itself, but you can manually optimize it - especially if you have SSD.

On mechanical HDDs, the page file is slow due to low read/write speeds. On an SSD it gives a noticeable performance boost, but increases drive wear (especially on cheap models without an SLC cache controller). The best option is to place the swap file on a separate HDD, if the laptop has two disks.

Parameter Recommendation for HDD Recommendation for SSD
Minimum size 1× of RAM capacity 0.5× of RAM capacity
Maximum size 2× of RAM capacity 1× of RAM capacity
Accommodation On a separate HDD partition On the system disk (if there is no alternative)

How to configure the swap file:

  1. Click Win + R, enter sysdm.cpl and go to the tab Additionally.
  2. In the section Performance click Options → Advanced → Edit (in section Virtual memory).
  3. Uncheck Automatically select the size of the paging file.
  4. Select disk, specify Specify size and enter the recommended values (see table above).
  5. Click Set, then OK and reboot your laptop.

Close all programs

Create a system restore point

Check free disk space (minimum 10 GB)

Disable ReadyBoost (if used) -->

⚠️ Attention: If you have laptop with hybrid drive (SSHD), it is better to place the paging file on the mechanical part of the disk. Otherwise, you risk overloading the SSD cache with frequent writes, which will reduce its lifespan by 20-30%.

3. Virtual memory on SSD: pros and risks

If your laptop has SSD, you can go ahead and create virtual disk in RAM (RAM disk) or use paging file on SSD with aggressive settings. This method gives the maximum speed increase, but has critical disadvantages:

  • Benefits: The read/write speed of virtual memory on an SSD is 5–10 times higher than on a HDD (up to 500 MB/s versus 50–100 MB/s).
  • ⚠️ Risks: Each gigabyte of the swap file on an SSD reduces its resource by ~100–200 write cycles (for TLC drives). With intensive use, the disk may fail after 1–2 years.
  • 🛠️ Solution: use SSD with controller SLC cache (For example, Samsung 980 Pro or WD Black SN850) or limit the size of the paging file.

To create RAM disk (virtual disk in RAM) you can use programs like ImDisk or AMD RAMDisk. This method is suitable if you have more than 16 GB RAM — part of the memory is reserved for a virtual disk, which operates hundreds of times faster than an SSD. However, after turning off the laptop, all data from the RAM disk will disappear.

Example of setting up a RAM disk in ImDisk:

1. Скачайте и установите ImDisk Toolkit.

2. Запустите программу от имени администратора.

3. Выберите Mount new virtual disk.

4. Укажите размер (например, 4 ГБ) и букву диска (например, R:).

5. В разделе Disk Type выберите RAM Disk.

6. Нажмите OK — виртуальный диск появится в системе.

How to Check SSD Wear Before Setting Up Virtual Memory

Download the utility CrystalDiskInfo and look at the parameter Total Host Writes (total amount of recorded data). If the value exceeds 100 TB for a 256 GB drive, it’s not worth the risk - it’s better to buy an additional stick of RAM.

4. Comparison of methods: what to choose for your laptop

Which method of increasing "virtual RAM" is right for you? It all depends on laptop configuration And use cases. Below is a comparison table with recommendations:

Method Best suited for Speed increase Risks/disadvantages
ReadyBoost (USB/HDD) Office tasks, web surfing, old laptops with HDD 5–15% Doesn't help with games/rendering, takes up space on the flash drive
Page file on HDD Laptops with 4–8 GB RAM and mechanical disk 10–20% Slow performance, disk fragmentation
Swap file on SSD Laptops with 8–16 GB RAM and SSD (not budget!) 20–30% Accelerated wear of SSD, risk of data loss in case of failure
RAM disk Professional tasks (3D modeling, video) 50–100% Requires ≥16 GB RAM, data is lost when turned off

If your laptop is equipped hybrid drive (SSHD), the best option is a combination ReadyBoost on USB 3.0 (to cache frequently used files) and paging file on the HDD part of the disk (for rarely used data). This minimizes wear on the SSD part and gives a balanced performance boost.

💡

Before setting up virtual memory, check how much RAM your programs are actually using. Open Task Manager (Ctrl+Shift+Esc), go to the tab Performance and look at the chart Memory. If peak consumption does not exceed 70% of available RAM, a page file may not be needed at all.

5. Step-by-step instructions: optimizing virtual memory in Windows 11

B Windows 11 setting up virtual memory is slightly different from Windows 10, especially if you have the feature enabled Memory Integrity (memory protection). Below are the current instructions for the latest system builds (22H2 and newer).

Step 1: Disable unnecessary features that interfere with optimization:

  1. Open Settings → System → Memory (or enter ms-settings:storagesense in the search bar).
  2. Disable Memory control (Storage Sense) - It can automatically clear the ReadyBoost cache.
  3. Go to Settings → Privacy & Security → Windows Security → Virus & Threat Protection.
  4. In the section Virus protection settings click Manage Settings and turn off Memory Integrity Protection (reboot required).

Step 2: Configure the paging file taking into account the features of Windows 11:

  1. Open Control Panel → System → Advanced system settings.
  2. On the tab Additionally in section Performance click Options → Advanced → Edit.
  3. Uncheck Automatically select the size of the paging file.
  4. For SSD select No swap file on the system drive and create a new file on second physical disk (if any).
  5. Install Original size And Maximum size manually (see recommendations in the table above).
⚠️ Attention: On Windows 11 when using BitLocker The page file is automatically encrypted, which can reduce performance by 5–10%. If you have configured virtual memory on a separate partition, disable encryption for it via BitLocker Management.

6. Alternative methods: when virtual memory does not help

If none of the described methods gave the desired result, the problem may not be a lack of RAM, but other system bottlenecks. Before spending time configuring virtual memory, check:

  • 🔍 CPU load: open Task Manager and see if it's loaded CPU 100% If yes, the problem is in the processor, not in the memory.
  • 💾 Disk speed: use CrystalDiskMark for testing HDD/SSD. If the read speed is below 100 MB/s (for HDD) or 300 MB/s (for SSD), the drive needs to be replaced.
  • 🧹 Background processes: disable unnecessary programs in startup (Ctrl+Shift+Esc → Startup). Brakes often cause OneDrive, NVIDIA GeForce Experience or Antivirus.
  • 🔄 Operating system: if you have Windows 10/11 with updates older than 6 months, update the system - memory management is optimized in new builds.

If the brakes appear in specific programs (For example, Photoshop or Chrome), try:

  • Customize swap file specifically for this program (in the shortcut properties add the key --disk-cache-size=1073741824 for Chrome).
  • Use portable versions of programs (For example, Portable Photoshop), which load the system less.
  • Update your video card drivers (especially if it slows down in games or 3D applications).
💡

If your laptop is older than 5 years and is equipped only with an HDD, the most effective upgrade is replacing the drive with an SSD. Even budget Kingston A400 or Crucial BX500 will give a greater speed increase than any virtual memory settings.

7. Common mistakes and how to avoid them

When setting up virtual memory, users often make mistakes that not only do not speed up the laptop, but also worsen its performance. Here are the most common of them:

  • 🚫 Disabling the page file on SSD laptops with 4 GB RAM: this leads to system collapse when running resource-intensive tasks. Always keep the page file minimal (at least 1 GB).
  • 🔄 Frequently overwriting the page file: if you manually resize pagefile.sys once a week, this fragments the disk and reduces performance. Set it up once and don't touch it.
  • 💽 Using a Slow USB Drive for ReadyBoost: If your flash drive has a write speed below 5MB/s, ReadyBoost will only slow down the system. Check the speed in CrystalDiskMark.
  • 🔋 Placing the swap file on an external HDD: An external hard drive connected via USB 2.0 is slower than the built-in one, which negates all the advantages.

Another common mistake is ignoring laptop temperature. If the CPU/GPU overheats under load (above 90°C), virtual memory will not help - the system will throttle (reduce frequencies), and performance will drop. Use ThrottleStop or HWMonitor to control temperatures.

How to return default virtual memory settings

If after experiments the laptop begins to perform worse, return the default settings:

1. Open Control Panel → System → Advanced Settings.

2. In section Performance click Options → Advanced → Edit.

3. Check the box Automatically select the size of the paging file.

4. Reboot your laptop.

FAQ: Answers to frequently asked questions

Can I use ReadyBoost on an SSD?

Technically yes, but it's pointless. ReadyBoost was designed to speed up mechanical HDDs, and SSDs are already 5-10 times faster. Moreover, continuous data recording to SSD via ReadyBoost will accelerate its wear without any noticeable performance gain. If you have an SSD, it is better to configure the page file or consider upgrading the RAM.

How much RAM can you “add” via a hard drive?

Theoretically - up to 64 GB (Windows 10/11 Pro limitation), but in practice:

  • For ReadyBoost maximum - 32 GB (FAT32 file system limitation).
  • For swap file - up to 3x the amount of physical RAM (for example, if you have 8 GB of RAM, a maximum of 24 GB of virtual memory).
  • For RAM disk - up to 50% of free RAM (for example, if you have 16 GB of RAM, you can allocate 8 GB for a virtual disk).

However The real performance gain is only noticeable when adding up to 16 GB of virtual memory. Large values ​​lead to fragmentation and slowdown.

Will virtual memory work in games?

No, in 99% of cases virtual memory (ReadyBoost, swap file) will not speed up games. Modern games (eg. Cyberpunk 2077, GTA V) require physical RAM And fast GPU. Virtual memory can only:

  • Prevent game crash with insufficient RAM (but with a strong drop in FPS).
  • Speed up loading levels (if the swap file is on an SSD).

For gaming laptops, the only solution is add physical RAM or update the configuration (for example, from 8 GB to 16 GB).

How to check if virtual memory is being used?

Open Task Manager (Ctrl+Shift+Esc) and go to the tab Performance. In the section Memory look at the line Used (compressed) - this is the data transferred to virtual memory. You can also use the utility Process Explorer (from the set Sysinternals), where in the column Pagefile Usage displays how much virtual memory each application is using.

Can I use virtual memory on a MacBook?

B macOS analogue of the paging file is called swap, and the system controls it automatically. Manual setting is only possible via Terminal (teams sudo rm /private/var/vm/swap* And sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist), but this not recommended — macOS is optimized to work with virtual memory out of the box. To speed up a MacBook, it is better to add physical RAM or replace the HDD with an SSD.