Enabling Memory Compression


5.2 – Enabling Memory Compression

Windows 10 introduces a layer between the pagefile and normal
paging activity which allows for the compression of all pages
moved to the modified list. This means that when MM feels
memory pressure, it will compress unused pages instead of
writing them to disk.

This is disabled by default on Windows Server 2016.

1) In the search box (magnifying glass on the TaskBar), type
Powershell“. Right click Windows Powershell” and choose
“Run as Administrator”:


Performance Search Box

2) When PowerShell opens, type and hit enter:

Enable-MMAgent -MemoryCompression

Nothing appears to have happened, but it is now enabled and running.


Enable MC

3) To check, right click the TaskBar and open the “Task
Manager


4) If it is the first time you have opened the Task Manager
you may be greeted by this rather small, unhelpful window.

Not to worry, click “More Details” at the
bottom left to expand the window:


5) When the Task Manager has expanded click the “Performance
tab at the top, then on the left click the “Memory
button. When you hover over the middle graph labelled “Memory
composition
” – a little tool tip should appear. You
will see the information about the compressed memory if it
is enabled:


You may also like...

6 Responses

  1. TrialMacameau says:

    You can double check if the Memory Compression is enable via the Task Manager I just forgot the mention it D: My bad :-S

    • TrialMacameau says:

      Just by hovering the Used Memory

    • Indirectcell says:

      If you got more than 64gb ram, isnt this usefull to leave it, as if it doesnt write it to the physical disk, then its operating at ram speeds, wont that give a huge boost to perfrormance or at least cut down on time opening a unused program for a while?

  2. Rain says:

    is memory compression important if i got 64gb ram? can i leave it for performance gains (if there is any) or is there any downsides to not compressing it?

    • Win2016Workstation says:

      I personally would keep memory compression enabled. The performance impact of turning it off would be negligible in your case as you have so much RAM. If you are using memory intensive applications and it’s enabled, anything that is running idle will be ‘squashed’ so it uses as little as possible.

  3. Lotusisrael says:

    Also, search something on the search box of an Explorer window, it will gill you an option to enable search index. Also, add a keyboard for a language that uses a non-standard form of the Latin alphabet or a non-Latin alphabet to the user that will be used, to get Optional Featues. But it you want to enable optional features for other user, you need to use another language to that user, ot if you delete your user account and re-create it, you need to add a new language as well, to have Optional Features.

Leave a Reply

Your email address will not be published. Required fields are marked *