HomeWinBuzzer TipsHow to Free up RAM in Windows 10 and Make Your Own...

How to Free up RAM in Windows 10 and Make Your Own RAM Cleaner

-

Even the best PCs can become sluggish if they run out of memory. Users often find that they have high RAM usage even when idle or that their applications aren’t performing as they expect. The purpose of this guide is to help you free up RAM and get your system functioning as normal. We’ll also be teaching you to create your own RAM cleaner for Windows 10 so you don’t have to rely on third-party tools.

First, though, a little about why clearing RAM will speed up Windows 10. Random Access Memory is essentially really fast storage that’s used to hold information about the active programs and processes on your PC. When you get low on virtual memory, your PC starts to use the pagefile instead, which is stored on your usual hard drive and is much slower. If you know how to reduce RAM usage, you can prevent this happening or remedy it after the fact.

There are numerous factors that can cause high ram usage in Windows 10, and most are preventable. Users with slowdowns often have a large number of programs launching at startup, known resource hogs, or malware. Some are less obvious and controllable, however. Memory leaks due to a poorly coded game or program can suck up your RAM over time until you experience a crash. A RAM cleaner for Windows 10 can mitigate this, but it won’t fix the root cause – that’s on the developer.

With this guide, we’re first going to show you how to reduce RAM usage and then move onto more complex ways to boost RAM. Let’s jump into it:

How to Free Up RAM with Windows 10 Task Manager

Time needed: 3 minutes

On Windows 10, the easiest way to clear RAM without restarting is via a familiar tool, Task Manager. You can use Microsoft’s tool to search for hungry programs and end them.

  1. Open Task Manager


    You can start Task Manager with the hotkey “CTRL + SHIFT + ESC”. If it’s your first time, you’ll get only a simple list, so be sure to click “More details” to see everything we need.

    Windows 10 - Task Manager

  2. Check for applications with high memory use


    We can free up RAM by closing unused programs that have high memory use. Click the “Memory” heading twice to sort the list by RAM usage. From there, it should be simple to find the hungry processes and click “End task” to get rid of them.

    Windows 10 - Task Manager - Detailed View

  3. View program sub-processes


    Sometimes, it’s a program you’re actively using that’s hogging your system resources. In these cases, you can speed up your computer by identifying the specific sub-tasks that are problem points. In the Task Manager window, click the small arrow to the left of the task to maximize it.

    Windows 10 - Task Manager - Detailed View for Apps

  4. Close hungry sub-tasks, browser tabs, and extensions


    In this view, look for the parts of the application that are using the most memory. For example, you may notice that you have a lot of tabs open in Chrome or Edge. Sometimes, a single webpage can use a lot of RAM if it’s optimized poorly. In other applications, you may see that project files you aren’t actively working on are using resources. You can use “End task” to close these.

    Windows 10 - Task Manager - Memory

How to Create a Custom RAM Cleaner for Windows 10 to Mitigate Memory Leaks

Time needed: 5 minutes

There are endless Windows 10 RAM cleaner programs that claim to speed up your computer. In some cases, these do work, but for the most part, you can create similar functionality yourself for free. We’re going to create a script that clears your reserved memory, which is often gobbled up by programs with memory leaks.

  1. Open Notepad


    Search for Notepad in the Windows 10 search menu and start it with a click.

    Windows 10 - Search - Notepad

  2. Enter the script text


    Paste the following into your text file: FreeMem = Space(1000000000).

    Freemem 1GB
    As you probably gathered, the 1000000000 stands for the amount of RAM in bytes you wish to clear. In our case, it’s 1GB. You can set this to 2000000000 to free 2GB of RAM
    at once, 4000000000 to free 4GB of RAM or even higher, if your specs allow for this.

    But as the command can run several times in a row its best to keep the number smaller. Otherwise, you could end up with more problems than you started with. As a rule of thumb we suggest not to never set the number higher than half of the built-in RAM of your system.

  3. Name the file


    In Notepad, click “File > Save as”. Choose a location for the file (desktop may be easiest) and name it “Memory Cleaner”, but don’t save it quite yet.

    Windows 10 - Notepad - Save As

  4. Save the file as a Visual Basic Script


    Our Windows 10 memory cleaner must have a .vbs file extension to be useful. Switch the “Save as type” dropdown to “All Files” and append “.vbs” to your file name.

    Windows 10 - Notepad - Save file as VBS

  5. Run the file and monitor your memory


    Now that the file is saved, you can run it from your desktop at any time to clear your reserved memory.

    Windows 10 - Memory Cleaner and Task Manager
    You can see the changes by heading to the Performance tab of Task Manager and selecting “Memory”. The “Available” value should change when you run the Windows 10 memory cleaner script.

Last Updated on December 3, 2020 11:14 pm CET by Markus Kasanmascheff

Ryan Maskell
Ryan Maskellhttps://ryanmaskell.co.uk
Ryan has had a passion for gaming and technology since early childhood. Fusing the skills from his Creative Writing and Publishing degree with profound technical knowledge, he enjoys covering news about Microsoft. As an avid writer, he is also working on his debut novel.
Table of Contents: