No Memory Compression


I enabled it a week ago, still no memory compression.
My understanding is memory compression only works when there's something to compress.
 

My Computer

System One

  • OS
    Windows 11 Home(Beta) - 23H2 - 22635.3500
    Computer type
    PC/Desktop
    Manufacturer/Model
    Banana Junior 5600- G Series
    CPU
    AMD Ryzen 5 5600G
    Motherboard
    Asus ROG Strix B550-F
    Memory
    G.SKILL Ripjaws V Series 64GB 4x16
    Graphics Card(s)
    NVIDIA GeForce GTX TITAN X
    Monitor(s) Displays
    Viotek 32", 28" ASUS VP28U
    Screen Resolution
    1080p
    Hard Drives
    Primary SAMSUNG 970 EVO Plus
    PSU
    EVGA BQ 700w 80+ Bronze
    Case
    Zalman i3 NEO
    Cooling
    ARCTIC Freezer 7 X
    Keyboard
    Corsair
    Mouse
    Amazon Generic with Cord
    Internet Speed
    Download: 295.11 mbps Upload: 65.35 mbps T-Mobile Internet
    Browser
    Firefox and Edge
    Antivirus
    MS - Defender
    Other Info
    Speakers: Klipsch ProMedia 2.1
So, I solved the issue: there is no memory compression when there is no pagefile.
Yes.. and it helps to have more than 4gb of RAM.
 

My Computer

System One

  • OS
    Windows 11 Home(Beta) - 23H2 - 22635.3500
    Computer type
    PC/Desktop
    Manufacturer/Model
    Banana Junior 5600- G Series
    CPU
    AMD Ryzen 5 5600G
    Motherboard
    Asus ROG Strix B550-F
    Memory
    G.SKILL Ripjaws V Series 64GB 4x16
    Graphics Card(s)
    NVIDIA GeForce GTX TITAN X
    Monitor(s) Displays
    Viotek 32", 28" ASUS VP28U
    Screen Resolution
    1080p
    Hard Drives
    Primary SAMSUNG 970 EVO Plus
    PSU
    EVGA BQ 700w 80+ Bronze
    Case
    Zalman i3 NEO
    Cooling
    ARCTIC Freezer 7 X
    Keyboard
    Corsair
    Mouse
    Amazon Generic with Cord
    Internet Speed
    Download: 295.11 mbps Upload: 65.35 mbps T-Mobile Internet
    Browser
    Firefox and Edge
    Antivirus
    MS - Defender
    Other Info
    Speakers: Klipsch ProMedia 2.1

My Computers

System One System Two

  • OS
    Windows 11 Pro x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    DIY Photoshop/Game/tinker build
    CPU
    Intel i9 13900KS 5.7-6GHz P cores/4.4GHz E/5GHz cache
    Motherboard
    Asus ROG Maximus Z790 Dark Hero
    Memory
    64GB (2x32) G.skill Trident Z5 RGB 6400 @6600 MT/s 32-39-39-80
    Graphics Card(s)
    Asus ROG Strix 4070 Ti OC
    Sound Card
    Onboard Audio, Vanatoo Transparent One; Klipsch R-12SWi Sub; Creative Pebble Pro Minimilist
    Monitor(s) Displays
    Eizo CG2730, ViewSonic VP2768
    Screen Resolution
    2560 x 1440p x 2
    Hard Drives
    WDC SN850 1TB nvme, SK-Hynix 2 TB P41 nvme, Raid 0: 1TB 850 EVO + 1TB 860 EVO SSD. Sabrent USB-C DS-SC5B 5-bay docking station: 6TB WDC Black, 6TB Ironwolf Pro; 2x 2TB WDC Black
    PSU
    850W Seasonic Vertex PX-850
    Case
    Fractal Design North XL Mesh, Black Walnut
    Cooling
    EKWB 360 Nucleus Dark AIO w/Phanteks T30-120 fans, 2 Noctua NF-A14 Chromax case fans, 3x50mm fans cooling memory
    Keyboard
    Glorious GMMK TKL mechanical, lubed modded -meh
    Mouse
    Logitech G305 wireless gaming
    Internet Speed
    380 Mb/s down, 12 Mb/s up
    Browser
    Firefox
    Antivirus
    Defender, Macrium Reflect 8 ;-)
    Other Info
    Runs hot. LOL
  • Computer type
    Laptop
    Manufacturer/Model
    Apple 13" Macbook Pro 2020 (m1)
    CPU
    Apple M1
    Screen Resolution
    2560x1600
    Browser
    Firefox
So, I solved the issue: there is no memory compression when there is no pagefile.
Out of curiosity, Why do you want memory compression in this particular scenario?
 

My Computer

System One

  • OS
    11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    10700k@5.2
    Motherboard
    Gigabyte Gaming X Z490
    Memory
    Viper Steelseries 32gb@ 3600mhz
    Graphics Card(s)
    Gigabyte 2070 Super 8GB, +200 core + 600 memory
    Monitor(s) Displays
    ASUS 4k HDR, Two 1080p Benq and Samsung
    Screen Resolution
    3840x2160/2560x1440/1920x1080
    Hard Drives
    Adata XPG SX8200 PRO 1tb
    Samsung EVO 870 500GB
    PSU
    Corsair RX 650
    Case
    NZXT h510
    Cooling
    CM HYPER 212 RGB
    Keyboard
    Razer Ornata Chroma
    Mouse
    Steelseries Rival 710
Out of curiosity, Why do you want memory compression in this particular scenario?
When I play a game and have a browser opened, the system often crashes because of "out of memory" event.
If I enable a pagefile, the system becomes much slower, so I hoped, memory compression could save the day.

Currently I enabled a small pagefile (200 MB) and memory compression works fine, saying it saved me another 200-300 MB.
So far, I could have browser, game and e-mail client opened and working at the same time with no noticeable slowdown.
This is much better than under Windows 8.1 but still, why does memory compression want a pagefile (at least 16 MB) at all?
 

My Computer

System One

  • OS
    Windows 11
When I play a game and have a browser opened, the system often crashes because of "out of memory" event.
If I enable a pagefile, the system becomes much slower, so I hoped, memory compression could save the day.

Currently I enabled a small pagefile (200 MB) and memory compression works fine, saying it saved me another 200-300 MB.
So far, I could have browser, game and e-mail client opened and working at the same time with no noticeable slowdown.
This is much better than under Windows 8.1 but still, why does memory compression want a pagefile (at least 16 MB) at all?
Okay so thats pretty crazy that you're using 4gb of system ram to try and play games whilst using a browser etc. Me sitting on my desktop with just my browser open im using 6-high 7's gb of ram which some would consider pretty high, I do have mouse and keyboard software suites etc always running due to profiles for each and rgb controllers etc that alot of normal users wouldn't so maybe take away 1gb or so for my extras, when gaming with a browser open i can be anywhere between 9gb and 15b depending on the game, I agree with everyone else here, Buying more ram is the only way you're really gonna see an improvement here. Anything else will be so miniscule it won't matter enough.
 
Last edited by a moderator:

My Computer

System One

  • OS
    11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    10700k@5.2
    Motherboard
    Gigabyte Gaming X Z490
    Memory
    Viper Steelseries 32gb@ 3600mhz
    Graphics Card(s)
    Gigabyte 2070 Super 8GB, +200 core + 600 memory
    Monitor(s) Displays
    ASUS 4k HDR, Two 1080p Benq and Samsung
    Screen Resolution
    3840x2160/2560x1440/1920x1080
    Hard Drives
    Adata XPG SX8200 PRO 1tb
    Samsung EVO 870 500GB
    PSU
    Corsair RX 650
    Case
    NZXT h510
    Cooling
    CM HYPER 212 RGB
    Keyboard
    Razer Ornata Chroma
    Mouse
    Steelseries Rival 710
Works fine just now. I am considering reducing the pagefile to the minimal allowed size (16 MB).
 

My Computer

System One

  • OS
    Windows 11
thanks for the "enable pagefile" tip . i also had the same problem,now with my 8gb ram, after I had specified 800MB-5GB pagefile, i can easily use "iobit smart ram" or "turbo boost" of the iobit advanced system care to disable some mostly-useless services and compress datas in ram and give me around half of my last Usage -with browsing which I use Slimjet as it's ram footprints is lower than other chromium browsers I've tested including opera which I previously used- and i can now have enough ram to open some demanding programs or games that need at least 3-4gb without being forced to close the browser with all open tabs(more than 70-150tabs)
 

Attachments

  • RAM WITH IOBIT.jpg
    RAM WITH IOBIT.jpg
    83.3 KB · Views: 2

My Computer

System One

  • OS
    11-10
    Computer type
    Laptop
    Manufacturer/Model
    msi-clevo
    CPU
    desktop-mobile
    Antivirus
    avast
why does memory compression want a pagefile (at least 16 MB) at all?
That's because the Store Manager is only able to compress paged pool and therefore a page file will be required to allow this. Why the minimum of 16MB? I assume based on Microsoft's own testing, this was the minimum required to gain any appreciable performance benefit.

When I play a game and have a browser opened, the system often crashes because of "out of memory" event.
If I enable a pagefile, the system becomes much slower, so I hoped, memory compression could save the day.
That's because you're running on 4GB RAM which is pretty inadequate for today's standards. Why does your system become slower with the page file enabled? That's because the Memory Manager is constantly having to page to and from the disk because of your inadequate amount of physical memory.

P.S. I understand this is a very old thread but I just wanted to answer some of the OP's questions which weren't answered.
 

My Computer

System One

  • OS
    Windows 11, Windows 10, Linux Fedora Cinnamon
compression will not compress if the virtual disk is closed. check virtual memory settings.
 

My Computer

" If you are thinking memory compression is the answer to low memory issues you are mistaken," - what's mistaken about it? Memory compression is for saving memory footprint size of processes. If it leads to reduction in the paged files, then it should provide better performance for processes that need the extra memory.
Compression doesn't guarantee you will see extra space free up - but it provides an opportunity to. Or else, why have the feature?

If you have less than 4GB, memory compression will help in some cases. (depends on exactly what you run on your machine). If you have 16GB or more, you may not be consuming the full RAM so compression won't help here.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom build
    CPU
    Intel
    Motherboard
    MSI
    Memory
    Corsair
    Graphics Card(s)
    Nvidia
    Monitor(s) Displays
    Dell
    Hard Drives
    Seagate
    PSU
    Corsair
    Case
    Cooler Master
    Keyboard
    Corsair
    Antivirus
    Are you kiddin me? It's 2022!
So, I solved the issue: there is no memory compression when there is no pagefile.
Actually, it is not that simple. I have a pagefile, and I noted my pc is not using compressed memory. I have 16 GB RAM.


Like you, I tried
Code:
Enable-MMAgent -mc

Sysmain was enabled etc.

So I reduced memory available to Windows in 4 GB.

At 16, 12, 8 GB - no compressed memory.
At 4 GB - compressed memory kicked in.

So somewhere between 4 GB and 8 GB, memory compression kicks in.

This site describes it quite well - key paragraph:

"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."



Conclusion: Windows is clever enough to decide if compressed memory is required.

The point at which it requires will differ from person to person of course e.g. what apps / how many are being run at a time.
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Back
Top Bottom