58

my former wrong assumption: it drains my notebook battery and I've no shortage of RAM. In Task manager you see ntoskrnl.exe is eating more CPU time than any other process. this feature does not appear to be optional and came 2 days ago with the 1st Win10 Update (Win10Pro in my case).

Edit:

I want to disable it, at least to exclude it as a culprit for my (unproven) assumptions. That process never came to my attention in the last 2 months and in task manager's long name it's called "system memory and compressed memory".

2 Answers2

43

This is a good feature to avoid paging (writing data to pagefile.sys on the HDD) .

If you want to test your Windows 10 without memory compression, start powershell as admin

enter image description here

and run the command Disable-MMAgent -mc and reboot. This disables the compression. To enable it later again, run again powershell as admin and run the Enable-MMAgent -mc command.

11

You can check the full answer at What is the cause of a high CPU usage of 'system and compressed memory' in Windows 10?. But for a short version:

I went to:

Start->Control Panel->Administrative Tools->Task Scheduler->Task Scheduler Library->Microsoft->Windows->MemoryDiagnostic

(To make this option visible, you need to run the "Task Scheduler" as Administrator!)

There are two line items. Running of the task may be dependent upon log events. I'm not sure if they just have to exist, or if they trigger upon entry into the log. In any case, I disabled the entry labelled as RunFullMemoryDiagnosticEntry. That solved my instance of the problem.

If this doesn't solve your issue, instructions earlier in the answer suggest using the Windows Performance Analyzer to help find a solution.

peterh
  • 2,782