Home > Common Problem > body text

How to enable memory compression in Win11

WBOY
Release: 2023-07-02 21:25:14
forward
2107 people have browsed it

 How to enable memory compression in Win11? The main principle of memory compression is to compress infrequently accessed memory pages to reduce reading and writing to the hard disk. Many friends don’t know how to operate in detail. The editor below has compiled a tutorial on how to enable the memory compression function in Win11. If you are interested, follow the editor and read on!

How to enable memory compression in Win11

Tutorial on turning on the memory compression function in Win11

Confirm that memory compression is turned on

First, we need to confirm whether memory compression is real Already enabled, there are two methods.

View through Task Manager. If memory compression is turned on, the compressed memory data will be displayed in the task manager, which is easy to observe.

How to enable memory compression in Win11

View through the command line. Use system administrator rights, open PowerShell, and then enter the following command:

Get-MMAgent

How to enable memory compression in Win11

Press Enter to run. If you see " MemoryCompression" is "Ture", which means memory compression has been turned on.

How to enable memory compression in Win11

How to turn off memory compression?

To turn off memory compression, we need to use the command line. Open PowerShell with administrator privileges and enter the following command:

Disable-MMAgent -mc

How to enable memory compression in Win11

Press the Enter key to run, then restart the system and compress the memory It's closed.

If you want to turn on memory compression again, it is very simple. Also use administrator rights to open Powershell and use the following command:

Enable-MMAgent -mc

How to enable memory compression in Win11

After restarting the system, memory compression will be re-enabled.

The above is the detailed content of How to enable memory compression in Win11. For more information, please follow other related articles on the PHP Chinese website!

source:chromezj.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!