Skip to main content

What Is Memory Compression in Windows 10?



Windows 10 uses memory compression to store more data in your system’s memory than it otherwise could. If you visit the Task Manager and look at your memory usage details, you’ll likely see that some of your memory is “compressed”. Here’s what that means.


  • What Is Memory Compression?

Memory compression is a new feature in Windows 10, and is not available on Windows 7 and 8. However, both Linux and Apple’s macOS also use memory compression.

Traditionally, if you had 8 GB of RAM and applications had 9 GB of stuff to store in that RAM, at least 1 GB would have to be “paged out” and stored in the page file on your computer’s disk. Accessing data in the page file is very slow compared to RAM.

With memory compression, some of that 9 GB of data can be compressed (just like a Zip file or other compressed data can be shrunk down) and kept in RAM. For example, you might have 6 GB of uncompressed data and 3 GB of compressed data that actually takes up 1.5 GB in RAM. You’d be storing all 9 GB of the original data in your 8 GB of RAM, as it would only take up 7.5 GB once some of it was compressed.

Is there a downside? Well, yes and no. Compressing and uncompressing the data takes some CPU resources, which is why not all data is stored compressed—it’s only compressed when Windows thinks it’s necessary and helpful. Compressing and uncompressing the data at the cost of some CPU time is much, much faster than paging the data out to disk and reading it from the page file, though, so it’s usually worth the tradeoff.
  • Is Compressed Memory Bad?

Compressing data in memory is much better than the alternative, which is paging that data out to disk. It’s faster than using the page file. There’s no downside to compressed memory. Windows will automatically compress data in memory when it needs space, and you don’t need even to think about this feature.
But memory compression does use some CPU resources. Your system may not perform as fast as it would if it didn’t need to compress data in memory in the first place. If you see a lot of compressed memory and suspect it’s the reason your PC is a bit slow, the only solution for this is installing more physical memory (RAM) in your system. If your PC doesn’t have enough physical memory for the applications you use, memory compression is better than the page file—but more physical memory is the best solution.
  • How to View Compressed Memory Details on Your PC

To view information about how much memory is compressed on your system, you’ll need to use the Task Manager. To open it, either right-click your taskbar and select “Task Manager”, press Ctrl+Shift+Esc, or press Ctrl+Alt+Delete and then click “Task Manager



If you see the simple Task Manager interface, click the “More details” option at the bottom of the window.



Click the “Performance” tab and select “Memory”. You’ll see how much memory is compressed under “In use (Compressed)”. For example, in the screenshot below, the Task Manager shows that our system is currently using 5.6 GB of its physical memory. 425 MB of that 5.6 GB is compressed memory.

You’ll see this number fluctuate over time as you open and close applications. It will also just fluctuate as the system does work in the background, so it’ll change as you stare at the window here.



If you mouse over the the left-most part of the bar under Memory composition, you’ll see more details about your compressed memory. In the screenshot below, we see that our system is using 5.7 GB of its physical memory.  440 MB of this is compressed memory, and this compressed memory stores an estimated 1.5 GB of data that would otherwise be stored uncompressed. This results in a 1.1 GB memory savings. Without memory compression, our system would have 6.8 GB of memory in use rather than 5.7 GB.


  • Does This Make the System Process Use a Lot of Memory?

In the original release of Windows 10, the “compression store” was stored in the System process and was “the reason the System process appears to be consuming more memory than previous releases”, according to a Microsoft blog post.

However, at some point, Microsoft changed the way this works. Compressed memory is no longer displayed as part of the System process in the Task Manager (probably because it was very confusing to users). Instead, it’s visible under Memory details on the Performance tab.

On Windows 10’s Creators Update, we can confirm that compressed memory is only displayed under Memory details, and the System process stays at 0.1 MB of usage on our system even when the system has a lot of compressed memory. This saves confusion, as people won’t wonder why their System process is mysteriously using so much memory.






WE HOPE THAT YOU ARE FINDING OUR POSTS HELPFUL,KEEP CLICKING AND HELP US REACH TO GREATER HEIGHTS.
  • THANKS FOR VIEWING.
PLEASE DO COMMENT IF U NEED OUR POSTS TO BE MORE BETTER AND APPEALING



For the latest tech news and reviews, follow TechYOlogy on Facebook.

Comments

Popular posts from this blog

How to Check your MotherBoard's Configurations and Details

If you want to update your drivers, check your hardware's compatibility, or you’re just curious about details of your Hardware, it’s a lot easier to check your motherboard's Configuration and Details with these simple tools and commands than to crack open your case to check the board itself. Here’s are the steps how to check your motherboard's Configuration details by simply using your Keyboards. Why Do I Want To Do This?(You should be thinking this) Knowing your motherboard’s Configuration and Details is important if you’re thinking of upgrading your drivers, buying new hardware (you’ll need the proper expansion or memory slots, for example), or just checking the capabilities of your board if you’re considering upgrading your whole rig. If you kept the paperwork that came with your computer (or the individual components, if you built it yourself), you can often times reference that. Even then, it’s best to check to make sure the documentation is correct...

10 Useful Windows Commands You Should Know

There are some things you can only do from the command line—even in Windows. Some of these tools don’t have graphical equivalents, while others are just plain faster to use than their graphical interfaces. If you’re into using PowerShell over Command Prompt, you should note that all the commands we’re covering in this article work just the same in either tool. And obviously, we can’t possibly cover all the useful commands that these tools offer. Instead, we’ll be focusing on commands that should be useful even if you’re not a command-line person ipconfig: Quickly Find Your IP Address  You can find your IP address from the Control Panel, but it takes a few clicks to get there. The ipconfig command is a fast way of determining your computer’s IP address and other information, such as the address of its default gateway—useful if you want to know the IP address of your router’s web interface. To use the command, just type  ipconfig  at the Comm...

Hardware Upgrade: How To Install New RAM

RAM is one of those upgrades everyone seems to skimp on when buying a PC, only to later wish for more. Regretting your underpowered memory purchase? Here’s how to speed up your machine by installing some additional memory. Memory is often one the critical bottlenecks on a PC, so faster, larger stores of RAM can go a long way to making your PC perform better and with more stability. It’s not hard, even for beginner geeks. Crack open that PC in today’s hardware upgrade! Identifying and Buying Your New RAM (The Hard Part)    Your RAM is likely installed in these slots on your motherboard, called the DIMM slots. This motherboard has room for six sticks of memory. Note the pins and how the RAM lines up with them—important to note to install properly. The median is off center to show you clearly which direction to orient them. If you’re strong, you can probably force them in backwards, but computers don’t really respond well to that kind of bullying. ...
VigLink badge