sodcalculator

10 Tech How-To

Low Memory Error in Windows? Fixes That Work

Guide 10-23955 · Updated · Step by step

If you’re seeing a “Your system is low on virtual memory” or “Insufficient memory” error in Windows, the fix is usually to close memory-hogging apps, increase the page file, or free up disk space. This article explains why the error appears and walks you through the most effective solutions, from quick checks to more advanced settings.

What Causes the Low Memory Error?

Windows uses two kinds of memory: physical RAM (the chips inside your computer) and virtual memory (a file on your hard drive called the page file). When RAM fills up, Windows moves less-used data to the page file. If the page file is too small or your disk is full, Windows can’t create enough virtual memory, and you get a low memory warning.

Common triggers include:

  • Too many programs running at once (especially browsers with many tabs)
  • A single app with a memory leak (like a misbehaving browser extension)
  • Insufficient disk space for the page file to grow
  • Hardware limits – your RAM is simply too small for what you’re doing

Quick Fixes to Try First

Before changing system settings, try these simple steps – they resolve the issue for many users:

  1. Close unnecessary programs. Right-click the taskbar and select Task Manager. Under the Processes tab, click the Memory column to sort by usage. Select apps you don’t need and click End Task.
  2. Restart your computer. This clears the RAM and resets any memory leaks.
  3. Run a disk cleanup. Search for “Disk Cleanup” in the Start menu, select your drive, and delete temporary files. This frees space that the page file can use.
  4. Check for Windows updates. Go to Settings > Update & Security > Windows Update and install any pending updates – they often include memory-related fixes.

Adjust Virtual Memory (Page File) Manually

If the error persists, you can increase the page file size manually. Windows usually manages it automatically, but a custom size can help if the default is too small.

  1. Open Settings > System > About, then click Advanced system settings.
  2. Under Performance, click Settings.
  3. Go to the Advanced tab and under Virtual memory, click Change.
  4. Uncheck “Automatically manage paging file size for all drives.”
  5. Select your system drive (usually C:), choose Custom size, and set Initial size and Maximum size to a value like 1.5 times your RAM. For example, if you have 8 GB RAM, set both to 12288 MB (8 × 1024 × 1.5).
  6. Click Set, then OK, and restart your computer.

Note: Setting a fixed size prevents Windows from shrinking the file, which can reduce fragmentation but also uses more disk space. If you have plenty of free space, this is a safe fix.

Free Up Disk Space

Your page file needs room to grow. If your disk is nearly full, Windows can’t expand it, causing low memory errors even if you have plenty of RAM.

  • Empty the Recycle Bin.
  • Use Storage Sense: Settings > System > Storage, then turn on Storage Sense or click Free up space now.
  • Move large files (videos, photos) to an external drive or cloud storage.
  • Uninstall programs you no longer use via Settings > Apps.

Identify Memory-Hogging Apps

Sometimes a single application is the culprit. Open Task Manager (Ctrl+Shift+Esc) and look at the Memory column. Common offenders include:

  • Google Chrome or other browsers with many tabs
  • Adobe Photoshop or video editing software
  • Antivirus scans running in the background
  • Games or virtual machines

If you notice a specific app using an unusually large amount of memory (e.g., 2 GB when it should use 200 MB), it may have a memory leak. Update the app, or try uninstalling and reinstalling it.

When to Consider Hardware Upgrades

If you regularly hit the limit even with few apps open, your RAM may be insufficient for your workload. Upgrading RAM is the most reliable fix. Check your system’s specifications (Settings > System > About) to see how much RAM you have and what type (DDR4, DDR5, etc.). Most laptops and desktops allow RAM upgrades, but some modern laptops have soldered memory that cannot be changed.

Before buying, verify:

  • The maximum RAM your motherboard supports
  • The number of available slots
  • The correct type and speed (e.g., DDR4-3200)

If you’re not comfortable opening your computer, a local repair shop can install it for you.

Common Misconceptions

“I have 16 GB RAM, so I can’t get low memory errors.” False – even with lots of RAM, a full disk or a poorly configured page file can trigger the error.

“Disabling the page file improves performance.” Not recommended. Some applications expect a page file to exist, and disabling it can cause crashes. Leave it enabled, even if you have plenty of RAM.

“The error means my RAM is broken.” Rarely. It’s almost always a software or configuration issue. If you suspect faulty RAM, use Windows Memory Diagnostic (search for it in the Start menu) to test.

Frequently Asked Questions

Why does Windows say my system is low on virtual memory?

This message appears when the page file is too small or the disk doesn’t have enough free space. Windows needs virtual memory as a backup to RAM, and when it can’t allocate enough, it warns you.

How do I fix low memory without adding RAM?

Close unused programs, increase the page file size, free up disk space, and run disk cleanup. These steps often resolve the issue without hardware changes.

Is it safe to increase the page file size?

Yes, as long as you have enough free disk space. A larger page file uses more storage but prevents low memory errors. Set it to a fixed size to avoid fragmentation.

Can a full hard drive cause low memory errors?

Absolutely. The page file needs disk space to grow. If your drive is full, Windows cannot expand virtual memory, leading to the error.

Should I disable the page file if I have lots of RAM?

No. Even with 32 GB of RAM, some applications and system processes expect a page file. Disabling it can cause instability and crashes. Keep it enabled.

What if none of these fixes work?

If the error persists after trying all steps, consider testing your RAM with Windows Memory Diagnostic, checking for malware, or upgrading your RAM. If you’re not comfortable, consult a professional.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →