How To Clear Ram Usage



High CPU & RAM usage in Windows 10 can also be caused by Rogue Programs, Malware, Viruses and Incorrect Registry settings. Depending on the reason for High RAM & CPU usage on your computer, you should be able to fix this issue using any of the following methods as applicable on your computer. Scan For Malware and Uninstall Unwanted Programs. Restart Windows Explorer to Clear Memory 1. Press Ctrl + Alt + Del keys at the same time and select Task Manager from the listed options. 2.Find Explorer and click Restart. Jun 28, 2016 Now you may call the script whenever you required to clear ram cache. Now set a cron to clear RAM cache everyday at 2am. Open crontab for editing. # crontab -e Append the below line, save and exit to run it at 2am daily. 0 2. /path/to/clearcache.sh For more details on how to cron a job you may like to check our article on 11 Cron.

  1. How To Clear Ram Usage
  2. How To Clear Ram Usage Windows 10
  3. Free Ram Space Windows 10
  4. How To Clear Ram Usage In Linux
  5. How To Clear Ram Usage On Macbook

In some cases you can see some troubles with memory overflow on computers and servers running Windows related to the leak of a system driver that stores its data in the non-paged memory. Non-paged memory pool is the part of the computer’s RAM, which is used by the kernel and the drivers of the operation system. Non-paged pool is never swapped to the disk (to the paging file), it is always stored only in the physical memory.

You can see the current size of the non-paged memory in the Memory section of the Performance tab in the Task Manager. The screenshot below shows that almost all memory of the server is busy, and the most part of it is occupied by the non-paged pool 4.2GB. Normally, the size of the non-paged pool rarely exceeds 200-400MB. This usually indicates that there is a memory leak in some system component or driver.

With this memory overflow problem on the server, the following messages may appear in the event log:

Restart The Computer System The Ram is volatile memory, you’ll lose its contents when your computer turned off. Restarting your computer system will clear memory saved on RAM and reset all the running programs and applications. However, this method won’t clear the complete memory but it will boost up the processing speed of the system.

The server was unable to allocate from the system Non-Paged pool because the pool was empty.

How To Clear Ram Usage

In most cases, the reason of the memory leak described above is some problems with the third-party drivers installed in the system. As a rule, these are network drivers. Please, pay attention to the pool behavior when downloading large files (it is likely to grow fast up to 128GB or 75% of physical memory in x64 systems). Only the Windows reboot helps to clean up the pool. It may be acceptable for a home computer, but you should find a better solution for a server working 24/7.

Install the Latest Versions of Network Adapter Drivers

Try to download and install the latest driver versions for your network adapters from the vendor’s website.

If the automatic driver update is enabled, make sure that the problems didn’t appear after the installation of the new drivers. Try to roll back to the previous driver version and see if the problem persists. If the problem is solved, disable automatic driver update.

Disable the Network Data Usage Driver

Quite often the incompatibility of the Network Data Usage (NDU) and network adapter drivers may be the reason of the memory leak in the non-paged pool. This service can be disabled without much loss of Windows functionality.

The service can be stopped using this command:

sc config NDU start= disabled

Or through the registry:

  1. Open the Registry Editor (regedit.exe);
  2. Go to registry key HKEY_LOCAL_MACHINESYSTEMControlSet001ServicesNdu;
  3. Change the value of the Start parameter to 4.

After making changes you need to restart your computer.

Disable the Hyper-V Role

In some cases the installed Hyper-V role results in memory leak to the non-paged pool. If you don’t need this role, we recommend to disable it.

Using PoolMon to Find a Kernel-Mode Memory Leak

If the methods described above did not help, you can try to find out, which driver causes the memory leak to the non-paged pool using a console tool Poolmoon.exe (included in Windows Driver Kit – WDK). Download and install WDK for your Windows version from Microsoft website. Then start Poolmon.exe (in case of WDK for Windows 10, the tool is located in C:Program Files (x86)Windows Kits10Tools folder).

After you have started the tool, press P. In the second column the tags of processes using non-paged memory will be left (Nonp attribute), then sort the drivers list by the Bytes column (by pressing B).

You can see that in our example the drivers with Nr22, ConT and smNp tags are using the most part of RAM in the non-paged pool.

You can find the exact driver files related to these processes using the following commands:

findstr /m /l /s Nr22 %Systemroot%System32drivers*.sys
findstr /m /l /s ConT %Systemroot%System32drivers*.sys
findstr /m /l /s smNp %Systemroot%System32drivers*.sys

How Do I Clear My Browser Cache in Windows 10? - Microsoft ...

So we have got the list of driver files that may cause the problem. Now you have to determine what drivers and system components these files refer to by their names. To do it, you can use sigcheck by Sysinternals.

sigcheck C:WindowsSystem32driversrdyboost.sys

The tool returns the name, description and version of the driver or Windows component.
Now you can try to uninstall/update/reinstall the problem driver or service.
This guide is applicable both for Windows Server 2008/2012R2/2016, as well as for desktop Windows 10, 8.1 and 7.

How to Clean Up and Compress the WinSxS...

April 23, 2021

Mapped Network Drives are Not Showing in Elevated...

April 21, 2021

How to Run Windows File Explorer Elevated (as...

April 16, 2021

Using Malicious Software Removal Tool (MRT.exe) on Windows

April 15, 2021

How to Clean Up Large System Volume Information...

April 15, 2021

Most system tuning utilities for Windows provide memory optimizer as an option to clean up the RAM so that your PC can have a fresh start. These utilities also come with other tuning tools that might not be necessary to you. Maybe you just want the memory optimization feature. But, that can’t be possible. So here I’d like to present a tiny utility that can fulfill this particular purpose.

Toady, I’d like to show you a script. This script has 4 different commands that will let you free up the memory in 4 different ways using the command prompt. I’ll also show how you can create a shortcut for these commands so that you can easily run these commands with a double click.

Empty Standby List

Empty Standby List is a small command-line application that lets you free up memory on Windows Vista and above. Download and paste it in your command line root path. Or set the root path where the EmptyStandByList.exe file is. You should keep it in the C Drive (System drive) of your system.

Now, there are 4 commands that you can run with this command line application. Let’s have a look at them.

EmptyStandbyList.exe workingsets

This command will clear the memory that is used by all the current running applications and process. This command is most commonly used by Memory Optimisation software.

There’s a downside of using this command. The Windows system will try to quickly swap the data from the paging file. So, it will make use of your storage disk to fetch the information from the programs and thereby will turn down overall performance. But, it will definitely free up memory.

EmptyStandbyList.exe modifiedpagelist

Now, here modified page files are those contents that must be written to the storage disk before they can be used again. If you see in the Memory section of the Resouce Monitor then you’ll find a Modified section for Memory in the display.

So, if you want to clear such memory then you got to use this command.

EmptyStandbyList.exe priority0standbylist

Now, here Standby memory has those contents that are being held by the memory and are not in use. But, will be used when needed. As shown in the above screenshot you can see the Standby memory section.

How

The above command clears the lowest priority Standby memory content. You can set the priority by replacing the 0 in the command to any number between 1-7. 7 being the highest priority.

EmptyStandbyList.exe standbylist

And, this last command clear Standby memory regardless of what priority of content it has. It clears them all.

Creating Command Shortcuts

To create a shortcut of a cmd command, right-click on your desktop and select New>Shortcut. Now, in the location field add the following string.

C:WindowsSystem32cmd.exe /c Command

Replace Command in the string with one of the command that you’d like run. Next, you go to give this shortcut administrator privilege in order to work. Becuase, these commands need admin access. We’ve shared on how you can do that in this article.

How To Clear Ram Usage Windows 10

Are still using DDR2 or DDR3 RAM? You should now opt for a DDR4 RAM. We’ve explained here why.

GUI Alternative?

If you’re not a command line enthusiast and prefer to do these task using a GUI then you got to use SysInternal’s RAMmap. It works pretty much the same with some extra control available.

ALSO SEE: Run Linux Based Programs on a Chromebook with rollApp


The above article may contain affiliate links which help support Guiding Tech. However, it does not affect our editorial integrity. The content remains unbiased and authentic.

Free Ram Space Windows 10

Read Next

How To Clear Ram Usage In Linux

How to Use and Sync More Than One Google Drive Account on Windows

How To Clear Ram Usage On Macbook

Here's How to Use and Sync More Than One





Comments are closed.