How to Free up RAM in Windows Using Command Line

Most system tuning utilities for Windows provide a memory optimizer as an option to clean up RAM to give your PC a fresh start. These utilities also come with other adjustment tools that may not be necessary for you. Maybe you just want the memory optimization feature. But it’s impossible. So here I would like to present a small utility that can fulfill this particular purpose.

optimize ramFree up RAM | shutter

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

Waiting list is empty

Empty Standby List is a small command line application that allows you to free up memory on Windows Vista and later. Download and paste it in your command line root path. Or set the root path containing the file EmptyStandByList.exe. You should keep it in your system’s C Drive (System Drive).

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

Workset EmptyStandbyList.exe

This command will clear the memory used by all currently running applications and processes. This command is most commonly used by Memory Optimizer software.

There is a downside to using this command. The Windows system will attempt to quickly swap out the data from the paging file. So it will use your disk storage to get information from programs and thus will reduce the overall performance. But, it will definitely free the memory.

See more:  What Is Watch Later on YouTube and How to Use It

EmptyStandbyList.exe edit page list

Now, here the modified page files are the ones that must be written to the storage disk before they can be used again. If you see in Memory of Resouce Monitor then you will find a modified section for On-Screen Memory.

Waiting list memory

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

EmptyStandbyList.exe priority0standbylist

Nowhere Near by memory has the contents being held by memory and is not being used. But, will be used as needed. As in the screenshot above, you can see the Standby Memory section.

The above command clears the contents of the Lowest Priority Backup memory. You can set the priority by replacing the zero in the command to any number between 1-7. 7 is the highest priority.

EmptyStandbyList.exe waiting list

And, this last command will clear the Standby memory regardless of the content priority. It deletes all.

Create Command Shortcut

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

Command C:\Windows\System32\cmd.exe /c

Replace the Command in the string with one of the commands that you want to run. Next, you go to grant administrator rights to this shortcut for it to work. Because, these commands need administrator access. We have shared how you can do that in this article.

Still using DDR2 or DDR3 RAM? Now you should choose DDR4 RAM. We have explained here why.

Replace GUI?

If you are not a command line geek and prefer to perform these tasks using the GUI then you must use SysInternal’s RAM Map. It works quite similarly to some of the additional controls available.

See more:  How to Get the Bold Glamour Filter on TikTok

ALSO SEE: Run Linux-based programs on a Chromebook with rollApp

Categories: How to
Source: thpttranhungdao.edu.vn/en/

Rate this post

Leave a Comment