Download Article
Get faster performance by clearing your RAM cache
Download Article
RAM cache is the portion of your RAM (Random Access Memory) used to store frequently accessed data by your computer. When your memory gets full, you may experience performance problems, error messages, program crashes, and more. Clearing your RAM cache can free up some memory and make your computer run a little better. This wikiHow article teaches you how to clear the RAM cache on your PC and gives you tips for improving performance.
Easy Ways to Clear RAM Cache
- Restart your computer to flush your RAM cache.
- Install RAMMap to analyze RAM usage and clear RAM cache
- Create a desktop shortcut to clear the RAM cache.
Steps
Section 1 of 5:
3 Ways to Clear Your RAM Cache
-
Restart your computer. The easiest way to clear your RAM cache is to save your work and restart your computer. When you restart your computer, all the data in your memory cache is cleared.
-
Use RAMMap. RAMMap is a free tool you download from Microsoft to analyze your memory usage and clear the cache. [1] X Research source
- Go to https://learn.microsoft.com/en-us/sysinternals/downloads/rammap in a web browser and click Download RAMMap .
- Extract the ZIP file .
- Open the RAMMap folder.
- Right-click RAMMap.exe and click Run as administrator .
- Click Agree .
- Click Empty in the menu bar at the top.
- Click Empty Standby List .
Advertisement -
Make a shortcut that flushes your RAM cache. Use the following steps to create a desktop shortcut that will flush your RAM cache whenever you click it:
- Right-click a blank space on your desktop and select New > Shortcut .
- Enter %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks in the field where it asks you to enter the item location.
- Click Next .
- Enter a name for the shortcut (i.e., "Flush RAM Cache") and click Finish .
- Double-click the shortcut on your desktop to flush your RAM cache.
Advertisement
Section 2 of 5:
Other Ways to Free Up Memory
-
Close background apps. Closing some background tasks and apps you're not currently using can free up some memory for your computer to use and improve performance.
- Press Ctrl + Shift + Esc to open Task Manager.
- Click the Processes tab.
- Click a process that's taking up a lot of RAM (check the "Memory" column).
- Click End Task .
-
Close your browser tabs. Having too many tabs open in your browser uses a lot of RAM. Click the "x" icon in the tabs you're not using to close them .
- If you have any extensions on your browser that you don't use, you may want to remove them as well.
-
Limit the number of startup programs. If your memory is getting full soon after starting your computer, you may have too many programs launching at startup. For some programs, you may need to disable launch at startup in the program's settings menu. [2] X Research source
- Click the Windows Start menu.
- Click the Settings/Gear icon.
- Click Apps .
- Click Startup
- Click the toggle switch next to the apps you don't want starting up with your computer.
-
Delete temp files. Temp files are temporary files used by various programs to temporarily store data, move files, manage settings, and more. [3] X Research source Over time, they can accumulate and start to eat up your memory. Use the following steps to delete your temp files:
- Press Windows Key + R to open Run.
- Enter %temp% in Run and click Ok .
- Press Ctrl + A to select everything.
- Press the Delete key.
-
Update your drivers and software. Old software versions and driver versions may take up more memory. Newer versions of software and drivers may be optimized to use fewer resources, including memory. Be sure to update all the programs you use. You can update your drivers by updating Windows. Use the following steps to do so:
- Click the Windows Start menu.
- Click the Settings/Gear icon.
- Click Windows Update (Windows 11) or Update & Security (Windows 10).
- Click Windows Update (Windows 10).
- Click Check for Updates .
- Click Install Now .
-
Disable visual effects. Visual effects can look pleasing, but sometimes you would rather your computer run properly than look pretty. Luckily, Windows allows you to optimize visual effects for performance rather than appearance. Use the following steps to adjust your computer's visual effects:
- Press Windows Key + R to open Run.
- Enter sysdm.cpl in Run and click Ok .
- Click the Advanced tab.
- Click Settings in the "Performance" box.
- Select Adjust for best performance and click Apply .
-
Clear the page file upon shutdown. Page files have many functions. One of which is to store infrequently accessed data from the RAM. While RAM is cleared when you restart your computer, page files are not. Clearing the page files can help reduce the amount of RAM cache your computer uses. Use the following steps to set your system to clear the page file when your computer shuts down:
- Type regedit into the windows search bar and click Ok .
- Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Session Manager > Memory Management .
- Double-click ClearPageFileAtShutdown
- Set the "Value data" to " 1 ".
- Click OK and restart your computer.
Advertisement
Expert Q&A
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Expert Interview
Thanks for reading our article! If you’d like to learn more about computers and technology, check out our in-depth interview with Luigi Oppido .
References
About This Article
Thanks to all authors for creating a page that has been read 9,281 times.
Advertisement