When your computer or phone starts lagging just when you're in the most hurry, there's almost always a common suspect: RAM overloaded with processes and applications . The problem is that we often don't want to close what's important: the browser with a thousand tabs, the game, the video editor, or our work tools. The good news is that there are plenty of tricks to restore smooth performance without having to frantically close everything you have open.
Think of RAM like the workspace of your PC or smartphone : the clearer it is, the smoother everything runs. If the workspace is cluttered with papers and junk you no longer use, every task becomes a chore. In this article, you'll see, step by step, how to free up RAM in Windows (10 and 11), other systems like macOS, and even on your mobile device, managing tabs, background apps, services, virtual memory, and even small scripts, without having to close the applications that are truly important.
What is RAM and why does it get overloaded?
RAM is the fast-access memory where the data and instructions the CPU needs instantly are loaded . It is volatile: it is erased when you turn off your computer or restart it, and it functions as the working environment for the operating system, programs, and games. The more RAM you have, the more applications you can keep open at once without your computer slowing down.
On a Windows PC, RAM is shared between the operating system, internal services, and every application you run, and modern browsers (Chrome, Edge, Opera GX, etc.) are particularly resource-intensive : each tab, each extension, and each internal process consumes its share. Add to that resident programs that start with the system and continue running in the background, and you have the perfect recipe for a performance crunch.
In addition, Windows and many applications use RAM caching to speed up access . When you close a program, some of its information remains in memory so that it loads faster if you reopen it. As long as you have enough RAM, this is good, but when you're running low, it causes the system to become increasingly slow even after closing programs , because not everything is cleared immediately.
Something similar happens on mobile devices: RAM keeps the apps you use daily readily available so you can switch from WhatsApp to Instagram or email without having to relaunch them from scratch . Android and iOS intentionally try to fill RAM with frequently used apps because it's more efficient, but if one is poorly optimized or overuses background processes, it starts consuming the rest of the memory , resulting in lag, unexpected crashes, and a generally sluggish phone.
How to see how much RAM you're using in Windows
Before you start tinkering with things blindly, it's a good idea to check what's going on. Windows includes the Task Manager , which gives you a pretty clear picture of what's consuming memory.
To open it, press Ctrl + Shift + Esc (or Ctrl + Alt + Delete and choose “Task Manager”). On the Processes tab , you'll see all the applications and background processes, and a Memory column showing RAM usage. Clicking on the header of that column sorts the data from highest to lowest usage , which is ideal for pinpointing the culprits when your PC is running slowly.
Within Task Manager itself, you'll also find the Performance > Memory section . There you can see how much total RAM your computer has, how much is in use, how much is available, how much is cached, and other details such as speed and occupied slots. This is very useful for checking if the changes you make (closing processes, disabling startup, etc.) actually free up memory.
The browser is usually the program that consumes the most memory on a modern PC. Each tab, each extension, and many modern websites loaded with scripts cause RAM usage to skyrocket, and if you tend to accumulate tabs "just in case," you can burn through several gigabytes in the browser alone.
The first thing to do is some common-sense cleaning: close tabs you no longer need , avoid duplicating the same content in several, and if you're comparing products, use comparison tools or wish lists instead of having 20 store tabs open.
Chromium-based browsers, such as Chrome and Edge, include their own built-in task manager . In Chrome, you open it with Shift + Escape . There you'll see every tab, extension, and browser process along with its resource usage. You can select a website that's frozen or a problematic extension and click "End process" to close only what's consuming RAM without closing the entire browser.
It's also key to review your extensions. Go to the add-ons section (for example, in Chrome: menu > "Extensions" > "Manage extensions") and remove anything you don't use. The fewer active extensions you have, the less memory your browser will need in the background . You can leave extensions you only use occasionally installed but disabled, and activate them only when you need them.
Chrome also includes specific memory-saving settings. From Settings > Performance > Memory, you can choose between several memory-saving modes (Moderate, Balanced, and Maximum) that "freeze" inactive tabs and release the RAM they were using . Maximum mode is the most aggressive and reduces memory consumption the most, but if you constantly switch between many tabs, a gentler mode might be better to avoid them constantly reloading.
If your computer is running on fumes, you can always consider switching to a lighter browser . The most minimalist browsers, with fewer features and frills, tend to use less RAM, which is a big plus for computers with only 4 GB of RAM or older machines that struggle when you open multiple tabs.
Startup applications and services that load RAM at boot time

Another major source of memory consumption is applications that start automatically with Windows . Many programs enable this option during installation: game clients (Steam, etc.), music services like Spotify, cloud syncers, messaging apps, various utilities… They remain running from startup and consume RAM even if you're not going to use them in that session.
To check this, go back to Task Manager and open the Startup tab (or "Startup Applications," depending on your version). You'll see all the programs configured to start with your system, along with an indicator of their impact on startup. Right-click on any programs you don't need running in the background after you turn on your PC and select "Disable" to stop them from starting automatically.
Programs like Spotify or gaming platforms can consume hundreds of megabytes of RAM at startup (150-300 MB or more per application). If you don't use them all the time, it's best to open them manually when you need them. However, don't disable critical components like Windows Security, audio drivers, graphics drivers, or your main antivirus software , as these are essential for system stability and protection.
If you want to go a little further, you can use the system configuration tool, msconfig. Press Windows + R, type msconfig and enter. On the tab Services, select “Hide all Microsoft services” to avoid touching anything in the system and, from there, Uncheck third-party services that don't add anything to your daily lifeFor example, disable automatic updates for programs you rarely use. After applying the changes and restarting, you'll notice less constant RAM usage and a faster startup.
Close background processes and apps without affecting the essentials
Many applications leave resident processes running in the background even when you think you've closed them: updaters, launchers, synchronization modules, game services, printer tools, keyboard or mouse utilities... Over time they accumulate, take up memory, and don't provide any benefit at that moment.
In Task Manager, under the Processes tab , sort by Memory and see which processes are consuming the most resources. From there, prioritize what to close based on what you're doing : if you're not playing a game, you can end gaming platform services; if you no longer need an editing tool that's running in the background, close it from there.
To free up memory, select the process, right-click, and click "End task ." It's important to be clear about what you're killing: close secondary services or programs you're not using, but leave system or antivirus processes alone if you don't recognize them. This way, you can reclaim RAM without having to close the main applications you work with , limiting the impact on your workflow.
Restarts, suspension, virtual memory, and paging file
It might sound cliché, but restarting your computer is still one of the most effective ways to clean RAM . Restarting clears all the processes that have left "remnants" in memory, restarts services, and clears temporary caches. If your computer has been on for days, you'll notice a clear difference after a restart.
Restarting is not the same as suspending. Suspending keeps the RAM powered and preserves almost everything you had open , which is why you can quickly resume your session… but it also carries over processes that have been running for hours or days. If you frequently use suspend, it's a good idea to completely shut down or restart your computer every so often , especially if you notice a gradual loss of performance.
Related to RAM is what's called virtual memory or the paging file . When physical RAM is full, Windows uses part of the hard drive (usually the C: drive) as a slower extension of memory. A properly configured paging file can prevent crashes when you're running low on RAM, although it's much slower than physical memory.
To adjust this setting, right-click on "This PC," go to Properties > Advanced system settings > Performance > Settings > Advanced > Virtual memory > Change . You can let Windows manage the size automatically or define a custom size. It's generally best not to limit it excessively or set it disproportionately large : an incorrectly configured value can cause lag or low memory messages.
There is also the option to have the page file cleared upon shutdown, just as physical RAM is cleared. To do this, you need to access the Registry Editor (regedit), go to the route HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management and change the value ClearPageFileAtShutdown from 0 to 1. With this, Windows empty the page file on each shutdownIt doesn't directly free up RAM, but it can help make subsequent boot times cleaner and prevent the accumulation of old data in virtual memory.
Disable visual effects and optimize the system
Windows comes loaded by default with animations, transparencies, and visual flourishes that, while aesthetically pleasing, consume resources. On computers with limited RAM or powerful processors, reducing these effects can improve performance.
To adjust this, press Win + R, writes sysdm.cpl and go to the tab AdvancedIn the Performance section, click “Settings” and a window with several options will open. You can directly select the desired settings. “Adjust for best performance” to disable almost all animations, or use the “Customize” option to Remove only the ones you consider least important.The change is most noticeable on modest PCs, where every little resource saving adds up.
Another simple measure is to periodically review your installed programs and remove those you no longer use, especially if they install background services or get stuck at startup. From Settings > Apps > Apps & features, you can uninstall unnecessary software, freeing up disk space, memory, and processes.
Check RAM usage, health, and presence of malware
If after optimizing startup, services, and processes you still see RAM at its limit, it's worth checking three things: what's consuming the most resources, whether the physical memory is in good condition, and whether you have malware.
From Task Manager, on the Processes tab, you can sort by Memory and see which applications are using the most resources. Very demanding games, browsers with many tabs, or editing programs often use several gigabytes. Sometimes it's simply a matter of not having two or three huge applications open at the same time on a PC with 8 GB of RAM.
It's also possible that the installed RAM isn't functioning correctly: a module that's no longer recognized, a misconfigured frequency, an inactive XMP/EXPO profile, etc. For example, if you have 32 GB installed but the system only detects 16 GB, you'll experience limitations even though you theoretically have plenty of memory . Checking how much RAM the computer actually detects and at what speed is crucial, whether in the BIOS/UEFI, within Windows itself, or using diagnostic tools.
Finally, there's the malware or unwanted software factor . A virus, a hidden cryptocurrency miner, or a malicious application can consume CPU and RAM without you noticing. While Microsoft Defender usually does a good job, it's always a good idea to run a scan with another trusted antivirus (even a trial version) to ensure nothing unusual is consuming memory in the background.
Scripts and tools to quickly free up RAM
In addition to manual management with the Task Manager, there's the option of creating a small script that forces the release of some memory . It's a slightly more technical solution, but very practical if you tend to have many applications open and want an "emergency button" to free up some space without restarting.
The process involves creating a text document on your desktop, writing the corresponding code (usually in VBScript), and adjusting the amount of memory you want to free up. Then, simply save the file, changing the extension from .txt to .vbs . From then on, double-clicking the file will run the script, and Windows will free up the configured amount of memory (for example, 32 MB or 128 MB).
It's important not to overdo it: you should never try to free up more than half of your computer's total RAM at once using these types of scripts, because you can cause errors in running applications or even a system crash. Used correctly, without overdoing it, they are a good tool for occasional instances of system overload.
If you prefer a more visual approach, there are also external memory optimization tools . Programs like Wise Memory Optimizer or more comprehensive maintenance suites analyze what's loaded in RAM and, with a button like "Optimize Now!", close background processes, clean caches, and adjust virtual memory . The best ones usually allow you to choose which processes to modify and which to leave, which is essential to avoid compromising system stability.
Be wary of miracle solutions that promise to "double your RAM" or dramatically improve performance. Good optimizers are usually unobtrusive and often require payment , offering detailed controls. Those with just a single big button and little explanation of their function can end up causing errors or blue screens if they kill key processes.
How to free up RAM on Android and iOS phones
On mobile devices, RAM management is more automatic and there's less room for maneuver, but there are still interesting tricks to gain some memory without constantly killing important apps .
On Android, the exact location depends on the manufacturer's skin, but there's usually a Memory or RAM section in Settings (see how to free up RAM on Android ), where you can see how much RAM you have in total, how much is in use, and which apps are consuming the most. Some skins even include real-time graphs and a "clean" button, which closes background processes and clears caches.
A powerful trick on many recent Android phones is to disable AICore , a system app linked to on-device AI features (such as offline note summaries or local transcriptions). This app can take up several gigabytes of storage and consume RAM in the background. If you don't use these local AI features, you can go to Settings > Apps > Show all > Show system, find "AICore," and tap "Disable ," as well as "Uninstall updates" to free up even more space. Gemini and other cloud features will continue to work, but you'll recover both storage and memory.
On both Android and iOS, something as simple as restarting your phone once a week makes a big difference: it completely clears the RAM, closes zombie processes, and your phone usually regains that "freshly formatted" feeling for a few days. It's also a good idea to manually close only the most resource-intensive apps that have been open for days (games, video editing apps, heavily loaded social media apps (for example, clearing Instagram's cache )), instead of constantly closing all recently used apps, because the system already manages unused apps quite well.
On some Android devices, you can reduce resource consumption by adjusting animations in developer options , lowering the animation scales for windows and transitions. This doesn't directly free up RAM, but by placing less strain on the processor and GPU, the overall experience feels smoother. And if your phone supports virtual RAM or memory extension (reserving part of the internal storage to support RAM), enabling it can help prevent lag when opening several resource-intensive apps, although it will never be as fast as physical memory.
RAM management in macOS: monitoring and speeding up
On a Mac, the philosophy is similar: macOS intelligently manages memory, but you can intervene when you see something getting out of hand. The key tool is Activity Monitor , which you can find by searching for it with Spotlight (Command + Space) and going to the Memory tab. There you can see which processes and applications are consuming the most RAM and close them directly from the tool if necessary.
A curious feature of macOS is that each icon on the Desktop is considered a small window . A desktop cluttered with files can lead to unnecessary memory consumption. Grouping documents into folders and cleaning up the Desktop not only organizes your files but also frees up resources. Furthermore, you can adjust Finder's behavior to open folders in tabs instead of new windows , thus reducing the number of open windows and the associated RAM usage.
Macs also use virtual disk memory when physical RAM is full. For this to work smoothly, it's crucial to maintain free space on the internal hard drive : if it's nearly full, the system will have less room to swap data between RAM and storage, and the computer will become very slow. Deleting large files you don't need, emptying the Trash, and using cleanup tools helps a lot on computers with limited storage capacity.
When does it make sense to expand physical RAM?
There comes a point where, no matter how much you optimize, the problem isn't how you manage memory, but the amount of RAM installed . If you're trying to play modern games, edit high-resolution video, and have 30 tabs open with 4 GB, there's no miracle cure: the hardware simply won't cut it.
Today, most new PCs come with at least 8 GB of RAM , enough for office use and some moderate multitasking. For recent games, photo and video editing, or intensive use of browsers and resource-intensive tools, 16 GB has become practically the comfortable standard . If you work with very large projects, virtual machines, or demanding professional software, 32 GB or more makes perfect sense.
Before buying anything, check the specifications of your motherboard or laptop to find out what type of memory it supports, how much it can hold, and how many slots it has . For example, you might have 8 GB split between two 4 GB modules, with two other slots free, in which case you could add more modules. If all the slots are occupied by smaller modules, you might need to replace them with higher-capacity ones.
Increasing RAM not only reduces the need to constantly free up memory, but also allows Windows to manage memory dynamically as designed , reserving cache to accelerate applications without sluggishing the system. In many cases, it's the upgrade that makes the biggest difference in daily use, along with switching from a hard drive to an SSD.
In short, keeping your computer (and mobile) running smoothly without constantly closing important applications involves monitoring what runs in the background, limiting what starts with the system, optimizing the browser, adjusting effects, occasionally using scripts or cleaning tools, and, when necessary, expanding physical memory.
By combining these strategies, you'll prevent RAM from becoming a bottleneck whenever you need your device to respond quickly. Share this guide so other users can learn about this topic.
Table of Contents
- 1 What is RAM and why does it get overloaded?
- 2 How to see how much RAM you're using in Windows
- 3 Manage browser tabs and extensions without closing everything
- 4 Startup applications and services that load RAM at boot time
- 5 Close background processes and apps without affecting the essentials
- 6 Restarts, suspension, virtual memory, and paging file
- 7 Disable visual effects and optimize the system
- 8 Check RAM usage, health, and presence of malware
- 9 Scripts and tools to quickly free up RAM
- 10 How to free up RAM on Android and iOS phones
- 11 RAM management in macOS: monitoring and speeding up
- 12 When does it make sense to expand physical RAM?
