Often going unnoticed, the memory cache can impact the speed and performance of your computer. Here are some ways to clear it, and keep it on the low.
A cache, regardless of its type, is where temporary files are stored for quick access. This technique is applied by an app or program to fetch information swiftly. This approach reduces the load on the medium, whether its system resources or the internet bandwidth and makes the operations quicker.
The memory on your computer also stores temporary cache data, which is known as RAM or Memory Cache. Although it is created to reduce the operational stress on the applications, by quickly fetching and processing the data directly inside the memory, it also has its caveats. The drawback of memory cache is it leaves little space for processing data by apps running in the foreground. This results in a slow-running computer.
This is why you occasionally need to clear the memory cache to allow the processing of the more important tasks.
In this article, we discuss how the memory cache works, and the different ways you can clean it.
This Page Covers
When to Clear Memory Cache
The cache stored inside your system’s memory is independent and has no direct effect on your computer. Usually, it is small in size, relative to the overall size of the available memory capacity. The applications and programs on your computer create these caches for quick processing – the memory itself does not need a cache.
However, when the cache size has increased significantly, it can cause your computer to lag. You will experience longer processing times and poor performance. These are the symptoms of when you might need to clear out the memory cache. But these are assumed symptoms.
Memory leaks can also cause increased memory caches.
To be sure of when to clear out the memory cache, you should find the current value of the memory cache. Use the steps in the following section to find out the size of your memory cache.
Learn how to clear all sorts of cache on Windows.
How to Check Memory Cache Size
To check your current memory cache size, use these steps:
Open the Task Manager and switch to the Performance tab.
Click on the “Memory” tab.
Here, you will find the memory cache size under the Cached heading.
As you can see from the image above, the memory cache is significantly large, around 12 GB. It is definitely due to a cache cleaning.
Let us now show you the different methods to clear the memory cache.
Clear Memory Cache
Restart the Computer
The easiest way to clear the memory cache is by restarting the computer.
RAM is a volatile memory, which means that it loses all data as soon as it loses power. Therefore, restarting the computer gets rid of all the data on it, including the memory cache.
When the compute reboots, you will notice that the memory cache (from the Task Manager) is reduced and negligible.
Manually Flush Memory Cache
The easiest way to clear the memory cache is to flush it. It can be done using a simple shortcut that you can create on your desktop. Here is how:
Right-click on a blank space on the desktop, expand New and then click Shortcut.
In the Location field, paste the following and click Next.
%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
Set a name for the shortcut and click Finish.
Once the shortcut is created, run it to dump the cache.
You can then use this shortcut when needed to flush the memory cache.
Close RAM-Hungry Background Applications and Processes
The applications and processes that create the most memory cache are also the ones that consume the memory the most. Therefore, to clear the memory cache, kill the tasks and processes that consume the most memory.
To close any processes consuming system memory,open the Task Managerand switch to theProcessestab. Click on the “Memory” column header to sort the processes in descending order, and then kill the apps/processes that you do not need.
If you end most of the tasks, you will notice that the memory cache will be near to negligible. However, if you only end some of the apps and processes, it will only reduce the size of the cache.
Disable Startup Programs
In the Windows operating system, some apps and programs are set to start up automatically, in the background or the forefront, as soon as you sign into your account. These apps contribute to the memory cache, and disabling them will clear it up.
Use the following steps to disable the startup programs:
Open the Task Manager and switch to the “Startup Apps” tab.
Right-click the apps that are enabled and then click “Disabled” from the context menu.
Repeat the step until all non-essential apps are disabled.
Adjust PC for Best performance
There are plenty of animations and other insignificant effects in the Windows OS that create a memory cache. Disable them and optimize your PC for best performance by performing the following steps:
Openthe System Propertiesapplet by typing in“sysdm.cpl”in the Run Command box.
Switch to theAdvancedtab and then click“Settings” underPerformance.
From the pop-up window, select “Adjust for best performance,” then clickApplyandOk.
Now restart the computer for the changes to take effect.
Once the computer restarts, the visual effects will be automatically turned off.
Clear Pagefile when Shutting Down
Pagefile is a hidden system file on your hard drive that is primarily there to compensate for low RAM. When the computer shuts down, the memory cache is cleared, but the Pagefile remains, which also contributes to the memory cache when the computer boots back up again.
You can configure the Pagefile to clear automatically whenever you shut down the computer. Here is how:
Note: This process involves making manual changes to the Windows Registry. Misconfiguration of critical values in the system’s registry could be fatal for your operating system. Therefore, we insist that you create a system restore point or a complete system image backup before proceeding forward with the process.
You can also use our top selection of disk imaging and backup software so you never lose your data or operating system again.
Open the Registry Editor by typing in “regedit” in the Run Command box.
Paste the following in the navigation bar for quick navigation:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Double-click the DWORD “ClearPageFileAtShutdown” and set its Value Data to 1.
Restart the computer for the changes to take effect.
When the computer restarts, the Pagefile will be cleared. This will happen every time the computer shuts down or restarts.
Update Device Drivers
Outdated or corrupted drivers can often cause memory leaks, which then result in significant memory cache sizes. To fix this issue, make sure to update all system drivers.
Here is a detailed guide to update drivers automatically. If you encounter issues with it, then you can also manually download a driver from the manufacturer’s website and install the driver manually.
Clear Memory Cache using RAMMap
RAMMap is a tiny tool by SysInternals that can be used to clear the memory cache at the press of a few buttons. Use the following steps to use the tool and clear out the RAM cache:
Download RAMMap from here.
Extract the contents of the downloaded file and run the RAMMap application.
Click “Empty” from the ribbon menu of the app, and then click “Empty Standby List.”
That’s it! If you will notice in the Task Manager, the memory cache will be cleared.
Conclusion
Not many people may pay attention to it, but the memory cache is a real thing and can affect your computer’s speed and performance. Ridiculous sizes of memory cache can result in other errors, such as “Out of memory” errors in Chrome or Adobe applications.
Therefore, it is advised to always keep an eye on the size of the memory cache, and clear it out from time to time, especially if your computer has been running for prolonged hours.
FAQs
How do I clear my Windows cache memory? ›
- In the search box on the taskbar, enter disk cleanup. Choose the Disk Cleanup app from the list of results.
- On the Disk Cleanup tab, select the Delivery Optimization Files check box.
- Select OK. On the dialog that appears, choose Delete Files.
Open Command Prompt. Type the "ipconfig/flushdns" command in command prompt and press enter the enter key. Note: The user can also check the DNS Cache by typing the following command in Command Prompt (CMD)," ipconfig/displaydns".
What is cache memory answers? ›Cache memory is a chip-based computer component that makes retrieving data from the computer's memory more efficient. It acts as a temporary storage area that the computer's processor can retrieve data from easily.
Does clearing cache improve memory? ›Clearing the cache improves the user experience and frees up space. Many systems come equipped with mechanisms that remove older data and keep track of storage. But when you run low on memory or want to speed up the device, you can clear it manually.
Should I clear cache memory on PC? ›If you don't clear your cache, you may see old forms. Old files can cause display or access problems when you apply online.
Is it good to clear cache memory in Windows 10? ›So if you clear your browser's cache and temporary internet files regularly, this helps your computer or device run optimally—and doing so can help fix certain problems, like a website loading slowly, or formatting issues on a web page.
How to clear all cache using cmd? ›- Open a command prompt in administrator mode (Start button > type cmd > right click "Command Prompt" and select Run As Administrator)
- Type in "ipconfig /flushdns" (without quotes) and press <Enter>
- Click the start menu and type Regedit. Click on the Regedit run command.
- This will open the Registry Editor. ...
- Double-click on the ClearPageFileAtShutdown key on the right.
- Set the Value data field to 1 and click OK.
Keyboard Shortcut for Most Browsers
While in your browser, press Ctrl + Shift + Delete simultaneously on the keyboard to open the appropriate window. IMPORTANT: Be sure and close/quit the browser and restart it after clearing the cookies & cache.
When you use a browser, like Chrome, it saves some information from websites in its cache and cookies. Clearing them fixes certain problems, like loading or formatting issues on sites. Computer AndroidiPhone & iPad.
What is the difference between cache and cache memory? ›
In this article, we're going to break down the differences between cache and cache memory. Basically, a cache stores temporary data and can be found on computers, phones, apps and web browsers. Cache memory also stores temporary data but is a physical computer component.
What happens when cache memory is removed from a computer? ›Deleting or clearing your cache memory will wipe your computer clean of all the repeated tasks you perform on your device. You can choose not to clear memory such as logins and credentials, bank details and so on; but memory attained to tasks performed or for example websites visited on a browser, will be cleared.
Is there a downside to clearing cache? ›It's not bad to clear your cached data now and then. Some refer to this data as “junk files,” meaning it just sits and piles up on your device. Clearing the cache helps keep things clean, but don't rely on it as a solid method for making new space.
How to clean CPU cache? ›- Press the Windows key , type Disk Cleanup, and press Enter . Or, press Windows key + R , type cleanmgr, and press Enter .
- Select a drive and click the OK button.
Deleting the cache and cookies data regularly helps to troubleshoot, helps to increase the loading time of web pages, loads new versions of web pages and increases the performance of your computer.
How often should I clear cache on PC? ›As a general rule, you should clear your browser cache and cookies at least once a month, or more often if you experience any of the following: slow running or crashing browsers, difficulty loading websites or features, outdated or incorrect information or images on some websites, the need to free up storage space on ...
How often should I clear my cache? ›This can vary based on how frequently you're online and how often you visit the same websites, but for the average Internet user we recommend clearing your cache either once or twice per month.
Do computers really need cache? ›As much as caching can help speed up a computer, if the memory cache gets too full, it can slow you down instead. It's important to run maintenance tasks on your PC because some of these functions will rid its memory of temporary files it likely doesn't need anymore.
How to clear cache in Windows 10 using temp? ›- On your keyboard, press the Windows + R keys at the same time.
- In the Open field, type %temp%, then press ENTER. ...
- Press the CTRL + A keys at the same time to select all the .tmp items.
- Press the DELETE key, and then click Yes when the User Account Control window appear to confirm.
- Turn on the computer.
- Tap the F2 key several times until Entering Setup appears.
- Reset the BIOS to factory defaults. ...
- Press the Esc key and select Save and exit or Exit.
- Press the Enter key to save all changes and exit the BIOS setup screen.
- The computer restarts.
How do I refresh my RAM? ›
- Restart Your PC. ...
- Check RAM Usage With Windows Tools. ...
- Uninstall or Disable Unneeded Software. ...
- Update Your Apps. ...
- Use Lighter Apps and Manage Running Programs. ...
- Scan for Malware. ...
- Adjust Virtual Memory in Windows. ...
- Try ReadyBoost to Add More RAM.
Shift + F5 or Ctrl F5 does not delete the cache, but ignores it. To clear the cache, you need to open the option to clear the browser's cache, via the shortcut Ctrl + Shift + Delete (or Ctrl + Shift + Del).
How do I clear cache with Ctrl F5? ›Or, Hold down Ctrl and press F5. Just open the Chrome Dev Tools by pressing F12. Once the chrome dev tools are open, just right click on the refresh button and a menu will drop down. This menu gives you the option of doing a hard refresh, or even clearing the cache and do a hard refresh automatically.
What is cache command? ›The CACHE (Disk Cache) system command controls the cache memory status of disks, displays cache statistics for the entire system, and dynamically resizes the amount of memory allocated to the disk cache.
Should I clear storage or cache? ›Clearing your Android app cache can help fix speed issues and free up storage space. If you need more storage, clear the cache of the apps that take up the most space. Clearing your app cache every few months will help streamline your phone and keep it from getting too full.
How long does it take to clear cache? ›Over time your cache will update to the latest changes, however, it can take it awhile (usually 24 hours).
Is cache memory or RAM? ›Difference between RAM and Cache Memory
The cache is faster, cheaper, and smaller than RAM. The cache memory caches CPU data and programs often and quickly. RAM contains the CPU's current data and applications. The cache caches CPU-needed data and programs.
An example of a hardware cache is a CPU cache. This is a small chunk of memory on the computer's processor used to store basic computer instructions that were recently used or are frequently used. Many applications and software also have their own cache.
Does clearing cache remove viruses? ›Clear your cache
Because malware often attacks your web browser, the first thing you should try is to clear your web browser's cache. This can eliminate malware resident in the phone's memory.
- Reboot Your PC. Before trying anything else, try restarting your PC. ...
- End or Restart Processes. ...
- Update Drivers. ...
- Scan for malware. ...
- Power Options. ...
- Find Specific Guidance Online. ...
- Reinstalling Windows.
How much cache does the average PC have? ›
The L2 cache size varies depending on the CPU, but its size is typically between 256KB to 32MB. Most modern CPUs will pack more than a 256KB L2 cache, and this size is now considered small. Furthermore, some of the most powerful modern CPUs have a larger L2 memory cache, vastly exceeding 8MB.
Where is cache memory in Windows 10? ›- Press Ctrl + Shift + Esc keys to open Task Manager.
- In Task Manager, click the Performance tab.
- Click on CPU in the left pane.
- In the right pane, you will see L1, L2, and L3 Cache sizes listed at the bottom.
Select Settings > Privacy, search, and services. Select Choose what to clear under Clear browsing data > Clear browsing data now. Under Time range, choose a time range from the list. Select Cookies and other site data, and then select Clear now.
How do I free up RAM on Windows 10? ›- Monitor RAM usage with Task Manager. Thanks to Windows' Task Manager, locating the origin of RAM depletion doesn't have to be a guessing game. ...
- Uninstall unused programs. ...
- Cut down your background apps. ...
- Wipe Page File before restarting. ...
- Exchange visuals for performance.
Temporary file is a common type of cache in your computer. By default, temporary files are stored in the path of C:\Users\Admin\AppData\Local\Temp. To clear them, you can press Windows + R to open Run window, input %temp% and click OK to open the Temp folders.
How do I view Windows cache? ›Where are my Windows app cache files? Most temporary files are stored in the Windows Temp folder. Although the location varies by computer and even by user, you can access it using the Run dialog. Press Windows Key + R, type %temp% and click OK.
What is the shortcut to clear cache? ›the Ctrl+Shift+Del keyboard shortcut.
How to clear cache memory using command prompt? ›- Open a command prompt in administrator mode (Start button > type cmd > right click "Command Prompt" and select Run As Administrator)
- Type in "ipconfig /flushdns" (without quotes) and press <Enter>
Clearing your browser's cache and cookies means that website settings (like usernames and passwords) will be deleted and some sites might appear to be a little slower because all of the images have to be loaded again.