Free Up RAM on Windows Without Closing Apps
In this article
Running low on memory while keeping your essential apps open is a common Windows frustration. This guide shows you how to reclaim RAM using built-in tools and a few smart tweaks—without force-quitting the programs you need. You'll learn to spot memory hogs, clear standby memory, and adjust settings so your system feels responsive again. No third-party software required.
What You'll Need
- Windows 10 or Windows 11 (any edition)
- Administrator access for some steps
- A few minutes of patience—some methods take effect gradually
Step-by-Step
- Open Task Manager and sort by memory usage. Press Ctrl + Shift + Esc. Click the "Processes" tab, then click the "Memory" column header to sort from highest to lowest. This shows which apps and background processes are using the most RAM.
- Identify memory hogs you don't actually need. Look for apps that are using hundreds of MB but aren't essential. Right-click any non-essential app and choose "End task." If you're unsure, leave it—this guide is about keeping essential apps running, so only close things you recognize and can spare.
- Use the Windows Memory Diagnostic tool. Type "Windows Memory Diagnostic" in the Start menu and open it. Choose "Restart now and check for problems." This reboots your PC and tests RAM for errors. If it finds issues, it may free up memory by isolating faulty hardware. This takes about 10 minutes, and you'll return to your open apps (they'll reopen if you had "Restart apps" enabled in Settings).
- Clear standby memory with a simple command. Standby memory is cached data that Windows keeps for quick access, but it can fill up and cause slowdowns. Open Command Prompt as administrator (right-click Start, select "Terminal (Admin)" or "Command Prompt (Admin)"). Type
empty.exeand press Enter. This is a built-in tool that flushes standby memory instantly. If you get an error, you may need to download Sysinternals' RAMMap, but the built-in command usually works on modern Windows. - Adjust visual effects to reduce memory overhead. Press Win + R, type
sysdm.cpl, and press Enter. Go to the "Advanced" tab, click "Settings" under Performance, and choose "Adjust for best performance." This disables animations and transparency, freeing up a small amount of RAM. You can also uncheck only the effects you don't care about. - Disable startup programs that eat RAM in the background. In Task Manager, go to the "Startup apps" tab. Right-click any app you don't need at boot (like a music player or updater) and choose "Disable." This prevents them from consuming memory from the moment you log in, leaving more for your essential apps.
- Use the Storage Sense feature to clear temporary files. Open Settings > System > Storage. Turn on "Storage Sense" and click "Clean now." This removes temp files, recycle bin contents, and old Windows update files—freeing up disk space, which indirectly helps virtual memory performance.
- Restart the Windows Explorer process. This refreshes the desktop and file manager, often freeing up memory that's been leaked by shell extensions. In Task Manager, find "Windows Explorer" under "Windows processes," right-click it, and choose "Restart." Your taskbar and desktop will flicker, but your open apps stay running.
- Check for memory leaks in specific apps. If one essential app (like Chrome or Outlook) is using far more RAM than usual, close it, wait a few seconds, and reopen it. This resets its memory footprint without losing unsaved work (make sure to save first). You can also use the "Memory Cleaner" feature in some apps' settings, but a restart is simplest.
- Increase virtual memory (page file) if you're still low. Go to Settings > System > About > Advanced system settings. Under Performance, click "Settings," go to "Advanced," and under Virtual memory click "Change." Uncheck "Automatically manage," select your system drive, choose "Custom size," and set Initial and Maximum size to 1.5x your RAM (e.g., 12 GB for 8 GB RAM). Click "Set" and restart. This gives Windows more headroom when physical RAM is full.
Common Mistakes
- Ending system processes. Don't end tasks like "Windows Explorer" or "Service Host" unless you know what they do—you can cause crashes or lose data.
- Using third-party memory cleaners. Many are unnecessary and can cause instability. Stick to built-in tools.
- Ignoring the page file. Setting it too small can cause errors. Always use the recommended size unless you have a specific reason.
- Closing essential apps by accident. Always double-check the app name before clicking "End task." If you're unsure, leave it.
Tips
- Monitor memory usage over time. Use Task Manager's "Performance" tab to see the memory graph. If it stays near 100% consistently, consider adding more RAM or closing background apps.
- Use the "Memory" column in Task Manager to sort by RAM usage. This helps you spot apps that are using more than expected.
- Keep your Windows updated. Updates often include memory management improvements.
- Consider using lighter alternatives for essential apps. For example, if your browser uses too much RAM, try a lighter browser or use fewer tabs.
Troubleshooting
- If the empty.exe command fails: Make sure you're running Command Prompt as administrator. If it still fails, download RAMMap from Microsoft Sysinternals, run it as admin, and click "Empty" > "Empty Standby List."
- If your PC becomes sluggish after adjusting visual effects: You can revert by going back to Performance Options and selecting "Let Windows choose what's best for my computer."
- If disabling startup apps doesn't free memory: Some apps re-enable themselves. Check the "Startup" tab again and also look in the app's settings for a "Launch at startup" toggle.
- If Windows Explorer restart causes issues: If your taskbar doesn't return, press Ctrl + Shift + Esc to open Task Manager, click "File" > "Run new task," type
explorer.exe, and press Enter. - If you still see high memory usage after all steps: Run the Windows Memory Diagnostic again. If no errors, check for malware with Windows Security's full scan. If the problem persists, you may need to physically add more RAM or replace a failing stick.
Frequently Asked Questions
Will clearing standby memory hurt my performance?
No. Standby memory is just cache; clearing it frees RAM for other tasks. Windows will rebuild the cache as needed, so there's no downside.
Is it safe to end background processes in Task Manager?
Generally yes, if you recognize the app. Avoid ending anything with "Windows" or "System" in the name, as those are critical. Ending a background app like a printer helper is safe.
Why does my RAM usage increase over time without opening new apps?
This is often due to memory leaks in apps (like browsers) or background services that accumulate data. Restarting those apps or your PC resets the usage.
Can I free up RAM without restarting my PC?
Yes—the methods above (except the Memory Diagnostic) work without a full restart. The Explorer restart is the closest thing to a reboot, but it only refreshes the desktop.
Does increasing virtual memory actually help?
It helps if your physical RAM is full, because Windows then uses the page file to store data that would otherwise cause an out-of-memory error. But it's slower than RAM, so it's a temporary fix.
What's the difference between standby and free memory?
Free memory is completely unused. Standby memory contains cached data that can be instantly repurposed when an app needs it. Windows automatically converts standby to free when needed, but clearing it manually can speed up the process.