Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
ZarCusHD

How To Dump Memory Cached?

Recommended Posts

Posted · Original PosterOP

Hi guys...

I am having problem with my memory building up so fast when I play 3A Games Like BF5, Division 2, PUBG, AC, ect...

For now I'm currently using Empty Standby List to dump my cached manually, so my games will not lag.

Is there anyway to dump the cache without using any third party software? Because Empty Standby List does not work well for me...

TIA

 

My Specs:

i7 9700k, RTX 2070, 32gb 3200mhz RAM, M.2 970 EVO for OS, 2 SSD and 2 HHSD...

Link to post
Share on other sites

Please quote my post, or put @paddy-stone if you want me to respond to you, I may not see your post otherwise.

 

Spoiler
  • PCs:-
  • AM4 1700 build https://uk.pcpartpicker.com/user/paddy.stone/saved/XyXyXL
  • ASUS x53e  - i7 2670QM / Sony BD writer x8 / Win 10, Elemetary OS, Ubuntu/ Samsung 830 SSD
  • Lenovo G50 - 8Gb RAM - Samsung 860 Evo 250GB SSD - DVD writer
  •  
  • Displays:-
  • Panasonic 55" 4k TV
  • LG 29" Ultrawide
  •  
  • Storage/NAS/Servers:-
  • Main Server - ASrock AB350M Pro 4 - AMD Athlon 200GE - 16GB DDR4 2133Mhz RAM - 240GB Crucial M500 SSD Boot Drive, running Windows 10, plex server - 4x 4TB Seagate Ironwolf HDDs.
  • Backup server - HP Proliant Gen 8 4 bay NAS running FreeNAS ZFS striped 3x3TiB WD reds
  • HP ProLiant G6 Server SE316M1 Twin Hex Core Intel Xeon E5645 2.40GHz 48GB RAM
  •  
  • Gaming/Tablets etc:-
  • Xbox One S 500GB + 2TB HDD
  • PS4
  • Nvidia Shield TV
  • Xiaomi/Pocaphone F1 128GB 6GB RAM
  • Xiaomi Redmi Note 4
  • Lenovo k3 note
  • Windows tablet
  •  
  • Unused Hardware currently :-
  •  
  • i7 6700K  b250 mobo - Thermaltake Core V21-  EVGA Supernova G2 650W Gold PSU
  • AMD phenom II 1055t / 8GB RAM / DVD writer
  • Zotac GTX 1060 6GB Amp! edition x2
  • Zotac GTX 1050 mini
  • Nvidia Shield K1 tablet

 

 

Link to post
Share on other sites
2 hours ago, ZarCusHD said:

Hi guys...

I am having problem with my memory building up so fast when I play 3A Games Like BF5, Division 2, PUBG, AC, ect...

For now I'm currently using Empty Standby List to dump my cached manually, so my games will not lag.

Is there anyway to dump the cache without using any third party software? Because Empty Standby List does not work well for me...

TIA

There's no point in emptying the standby list. That data will automatically be evicted by the OS the moment another app needs more memory.

 

i.e., this tool is snake oil. It isn't doing anything useful.

Link to post
Share on other sites

Your games are not "lagging" because of Windows cache'd memory, specially with whooping 32GB available.

 

As mentioned cache'd memory will be dumped the second Windows need that space, getting rid of it will solely cause your system to behave slower as it will have to reload data from disk all the time.

 

There's another thing causing your computer to underperform.


Workstation Rig:
CPU:  Intel Core i9 9900K @4.7ghz  |~| Cooling: Noctua NH-U12P |~|  MOBO: Asus Z390M ROG Maximus XI GENE |~| RAM: 32gb 3200mhz CL16 G.Skill Trident Z RGB |~| GPU: nVidia TITAN V  |~| PSU: Corsair RM850X 80Plus Gold |~| Boot: WD Black M.2 2280 500GB NVMe |~| Storage: 2X4TB HDD 7200rpm Seagate Iron Wolf + 2X2TB SSD SanDisk Ultra |~| Case: Cooler Master Case Pro 3 |~| Display: ASUS ROG Swift PG348Q 3440x1440p100hz |~| OS: Windows 10 Pro.
Personal Use Rig:
CPU: Intel Core i7 8700 @4.45ghz |~| Cooling: Cooler Master Hyper 212X |~| MOBO: Gigabyte Z370M D3H mATX|~| RAM: 16gb DDR4 3333mhzCL16 G.Skill Trident Z |~| GPU: nVidia Founders Edition GTX 1080 Ti |~| PSU: Corsair TX650M 80Plus Gold |~| Boot:  SSD WD Green M.2 2280 240GB |~| Storage: 1x3TB HDD 7200rpm Seagate Barracuda + SanDisk SSD Plus G26 480gb |~| Case: Cooler Master Case Pro 3 |~| Display Setup: Acer X34 3440x1440p100hz |~| OS: Windows 10 Pro.
Link to post
Share on other sites

Dude, you have 32GB of memory, if it's "running out", you're doing something wrong or you need to close Chrome. It could be a memory leak, but I doubt it.

The games you've named shouldn't even use more than a handful of GBs, they are playable with 8GB/16GB of RAM, you literally have 4x/2x that amount.

 

Memory clearing softwares are snakeoils, like Mira said.

 

 

If your games don't run well, you have other issues at play here.


CPU: AMD Ryzen 3600 / GPU: Radeon HD7970 GHz 3GB(upgrade pending) / RAM: Corsair Vengeance LPX 2x8GB DDR4-3200
MOBO: MSI B450m Gaming Plus / NVME: Corsair MP510 240GB / Case: TT Core v21 / PSU: Seasonic 750W / OS: Win 10 Pro

Link to post
Share on other sites

Make sure you have a page file configured and enabled, even if it's configured to just 1 GB or so in size.

 

Unless you have some faulty driver or software that leaks memory like crazy, 32 GB should be plenty enough for your games.

Link to post
Share on other sites
Posted · Original PosterOP
21 hours ago, Princess Luna said:

Your games are not "lagging" because of Windows cache'd memory, specially with whooping 32GB available.

 

As mentioned cache'd memory will be dumped the second Windows need that space, getting rid of it will solely cause your system to behave slower as it will have to reload data from disk all the time.

 

There's another thing causing your computer to underperform.

Nope, It does not dumped automatically. I tested it for a few hours of heavy load all max out as soon as my cache build up more or less 24gb of cached then my game will start lagging I have to dumped it manually through EmptyStandbyList. then it will go back to normal...

Even though I have 32gb of ram believe it or not most of my 3A games will consume up to 16gb of ram or higher...

And I have nothing running on the background except for Steam or Uplay or Origin or Blizzard or what ever the games I want to play on.. 

Link to post
Share on other sites
Posted · Original PosterOP
21 hours ago, Mira Yurizaki said:

Well let's try to figure out what the problem really is.

 

Can you take a screenshot of Task Manager in the Performance Tab -> Memory page when you think the system is running low on memory?

Here's the screen shot. Just finish 1 1/2hours of PUBG and my game just start lagging at this moment.

The windows on the right is my task scheduler and from there I dumped my cached through emptystandbylist

Desktop Screenshot 2019.06.11 - 22.18.52.06.png

Link to post
Share on other sites

Your Memory is not set at 3200mhz as you said it actually is at 2133mhz stock JEDEC values (If Task Manager is accurate) for whooping 32GB at such low frequency your i7 9700K is severely starving on bandwidth.


Workstation Rig:
CPU:  Intel Core i9 9900K @4.7ghz  |~| Cooling: Noctua NH-U12P |~|  MOBO: Asus Z390M ROG Maximus XI GENE |~| RAM: 32gb 3200mhz CL16 G.Skill Trident Z RGB |~| GPU: nVidia TITAN V  |~| PSU: Corsair RM850X 80Plus Gold |~| Boot: WD Black M.2 2280 500GB NVMe |~| Storage: 2X4TB HDD 7200rpm Seagate Iron Wolf + 2X2TB SSD SanDisk Ultra |~| Case: Cooler Master Case Pro 3 |~| Display: ASUS ROG Swift PG348Q 3440x1440p100hz |~| OS: Windows 10 Pro.
Personal Use Rig:
CPU: Intel Core i7 8700 @4.45ghz |~| Cooling: Cooler Master Hyper 212X |~| MOBO: Gigabyte Z370M D3H mATX|~| RAM: 16gb DDR4 3333mhzCL16 G.Skill Trident Z |~| GPU: nVidia Founders Edition GTX 1080 Ti |~| PSU: Corsair TX650M 80Plus Gold |~| Boot:  SSD WD Green M.2 2280 240GB |~| Storage: 1x3TB HDD 7200rpm Seagate Barracuda + SanDisk SSD Plus G26 480gb |~| Case: Cooler Master Case Pro 3 |~| Display Setup: Acer X34 3440x1440p100hz |~| OS: Windows 10 Pro.
Link to post
Share on other sites
Posted · Original PosterOP
11 minutes ago, Princess Luna said:

Your Memory is not set at 3200mhz as you said it actually is at 2133mhz stock JEDEC values (If Task Manager is accurate) for whooping 32GB at such low frequency your i7 9700K is severely starving on bandwidth.

When I play games it boosted up 42000mhz The task manager and CPU Z and Riva did not show the same speed..

Link to post
Share on other sites
15 minutes ago, ZarCusHD said:

When I play games it boosted up 42000mhz The task manager and CPU Z and Riva did not show the same speed..

I think you mistake Memory Clocks with CPU Clocks...


"Hell is full of good meanings, but Heaven is full of good works"

Link to post
Share on other sites
20 minutes ago, ZarCusHD said:

When I play games it boosted up 42000mhz The task manager and CPU Z and Riva did not show the same speed..

Ram defaults to 2133 on the DDR4 side you have to set an XMP profile in the bios as that 3200 advertised on the package means an OC, not that it defaults to that.  Unless you manually set it, through XMP, it is impossible for the RAM to auto do that.  It doesn't boost like a CPU or GPU.


VashTheStampede 4.0:

CPU: AMD Threadripper 1950x | CPU Cooling: EKWB Liquid Cooling(EK-Supremacy sTR4 RGB - Nickel, EK-CoolStream SE 280, EK-Vardar EVO 140ER Black x 2, EK-XRES 100 SPC-60 MX PWM (incl. pump), EK-ACF Fitting 10/13mm - Red (6-pack), EK-DuraClear 9,5/12,7mm 3M, and Scarlet Red Premix) | Compound: Thermal Grizzly Kryonaut | Mobo: Asrock X399 Taichi | Ram: G.Skill Ripjaws V 32GBs (2x16) DDR4-3200 | Storage: Crucial MX500 500GB M.2-2280 SSD/PNY CS900 240GB SSD/Toshiba X300 4TB 7200RPM | GPU: Zotac Geforce GTX 1080 8GB AMP! Edition(Replacing with a Radeon VII | Case: Fractal Define R5 Blackout Edition w/Window | PSU: EVGA SuperNOVA G2 750W 80+ Gold | Operating System: Windows 10 Pro | Keyboard: Ducky Shine 7 Blackout Edition with Cherry MX Silent Reds | Mouse: Corsair M65 Pro RGB FPS | Headphones:  AKG K7XX Mass Drop Editions(Replacing with k712s) | Mic: Audio-Technica ATR2500 | Speakers: Mackie MR624 Studio Monitors

 

Surtr:

CPU: AMD Ryzen 3 2200G(Temp/Upping to a Zen 2 Ryzen 7) | CPU Cooling: Wraith(Dark Rock Pro 4 when I get the 3700x or 3800x) | Compound: Thermal Grizzly Kryronaut | Mobo: Asrock x470 Taichi | Ram: G.Skill Ripjaws V 16GBs (2x8) DDR4-3200 | Storage: PNY - BX500 240 GB SSD+Seagate Constellation ES.3 1TB 7200RPM | GPU: PowerColor - Radeon RX VEGA 64 8 GB RED DEVIL | Case: Corsair - SPEC-DELTA RGB | PSU: EVGA SuperNOVA G2 750W 80+ Gold | Optical Drive: Random HP DVD Drive | Operating System: Windows 10 | Keyboard: Corsair K70 with Cherry MX Reds | Mouse: Corsair M65 Pro RGB FPS Speakers: JBL LSR 305 Studio Monitors(At some point)

 

Prince of Dark Rock:

CPU: AMD Ryzen 5 2600 | CPU Cooling: be quiet! - Dark Rock Pro 4 | Compound: Thermal Grizzly Kryronaut | Mobo: MSI B450 Tomahawki | Ram: G.Skill Ripjaws V 8GBs (2x4) DDR4-3200 | Storage: Crucial - BX200 240 GB SSD+Seagate Constellation ES.3 1TB 7200RPM | GPU: EVGA - GeForce GTX 1060 6GB SSC | Case: Cooler Master - MasterBox MB511 | PSU: Corsair - CXM 550W | Optical Drive: Random HP DVD Drive | Operating System: Windows 10 Home | Keyboard: Rosewill - NEON K85 RGB BR | Mouse: Razer DeathAdder Elite Destiny 2 Edition 

Link to post
Share on other sites
2 hours ago, ZarCusHD said:

Here's the screen shot. Just finish 1 1/2hours of PUBG and my game just start lagging at this moment.

The windows on the right is my task scheduler and from there I dumped my cached through emptystandbylist

Desktop Screenshot 2019.06.11 - 22.18.52.06.png

I have a feeling you are misunderstanding cache. It's not using your RAM, it's using space on your drive. You can try to increase pagefile size. Some software are coded in a way that they use pagefile regardless of the amount of RAM you have.


^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to post
Share on other sites
8 minutes ago, LogicalDrm said:

I have a feeling you are misunderstanding cache. It's not using your RAM, it's using space on your drive. You can try to increase pagefile size. Some software are coded in a way that they use pagefile regardless of the amount of RAM you have.

The "Cached" value in the memory page is memory from an app that's basically been marked as available. If the app in question comes back into use, it can use whatever was cached to load faster. Otherwise Windows will start reaping memory from the cached area for other apps to use first before touching the free space.

 

People supposedly think clearing this makes their computer perform better, but it really doesn't. If anything, it may make the computer perform worse because it has to reload the data.

Link to post
Share on other sites

image.png.9dd11616d9fe35272f2be717233a6c7d.png

 

In use (Compressed) - this is the amount of data that is used by various programs in your ram sticks (56MB is compressed in ram)

Available - the amount of data that can be put in ram sticks by programs (6.7 GB + 25.2 GB = 31.9 GB) - arpund 100 MB is permanently locked and used by the operating system so it's excluded from these numbers.

Committed - the total amount of data that's help in memory system which is made out of RAM sticks AND page file, a file or several files on your hard drives where data is moved if ram sticks are getting full and a program wants to put more data in RAM.

This means that in total, there's 9 GB of data but only 6.7 GB of these 9 GB are in RAM sticks, the rest of 2.3 GB are dumped in the page file on the hard drive.

The 36.7 GB number tells you that at the moment you took the picture, there was 32 GB of RAM and 4.7 GB worth of page file, where data could potentially be written to, for example copied from RAM to hard disk to make room for other programs.

The page file is most often dynamic, meaning the operating system can increase its size if needed. So you may see that number of 36.7 GB increase, if you have some stupid program that consumes ALL your RAM memory and Windows has to move the data of other programs to disk to make room.

The Cached of 21.7 GB ... basically, Windows sees you have 25.2 GB of free space in RAM that's available for programs and secretly in the background uses portions of this free space to cache files (music you play, game files that are partially read from hard drive, and so on) to speed up things. As soon as a program needs room in RAM, the operating system will dump portions of this cached data to make room... so it's not affecting the performance of your PC. If the game asks suddenly for 10 GB of RAM, the operating system will instantly clear 5-10 GB from this cache of 21.7 GB of data and give it to the game.

 

Windows says the memory sticks are running at 2133 Mhz, that's the default (JEDEC) frequency of memory sticks. IF you didn't enable XMP, this is the default frequency BIOSes use. You should go in BIOS and enable XMP and try to use 3200 Mhz if this is the frequency your sticks are rated for.

Now, there's a small chance (let's say less than 5%) that your computer won't like running all four RAM sticks at 3200 Mhz, because it's not quite as easy to work at high frequencies with 4 RAM sticks, as when you're using only 2 RAM sticks. So, if you get errors in games or crashes, you may want to manually reduce the frequency to 3000 Mhz or in the worst case scenario, 2666 Mhz.

You should try to do this because it should give you a bit of performance boost.

 

Link to post
Share on other sites

 

24 minutes ago, mariushm said:

In use (Compressed) - this is the amount of data that is used by various programs in your ram sticks (56MB is compressed in ram)

Available - the amount of data that can be put in ram sticks by programs (6.7 GB + 25.2 GB = 31.9 GB) - arpund 100 MB is permanently locked and used by the operating system so it's excluded from these numbers.

Committed - the total amount of data that's help in memory system which is made out of RAM sticks AND page file, a file or several files on your hard drives where data is moved if ram sticks are getting full and a program wants to put more data in RAM.

This means that in total, there's 9 GB of data but only 6.7 GB of these 9 GB are in RAM sticks, the rest of 2.3 GB are dumped in the page file on the hard drive.

The 36.7 GB number tells you that at the moment you took the picture, there was 32 GB of RAM and 4.7 GB worth of page file, where data could potentially be written to, for example copied from RAM to hard disk to make room for other programs.

 

Nitpicking here, but "Committed" means how much memory was reserved for programs. It doesn't tell you how much memory is in the page file or RAM.  For example you can have a situation like this (from https://www.itprotoday.com/windows-10/how-solve-windows-10-low-memory-errors)

windows10lowmemorysml.jpg

 

There's 16GB of RAM and the page file size according to the Committed field should be 8GB. Yet that doesn't make sense if "In Use" is RAM usage only and the rest is page file usage, otherwise the Committed field should be 32GB.

 

This is the real reason why you should never disable your page file.

 

There's a neat article that explains it at https://devblogs.microsoft.com/oldnewthing/20091002-00/?p=16513

Link to post
Share on other sites
Posted · Original PosterOP
19 hours ago, Stefan Payne said:

I think you mistake Memory Clocks with CPU Clocks...

nope! it clearly says RAM on RIVA and CPU Z

my mistake though it's 4200mhz not 42000mhz,,,lol

and my CPU runs at 4.6ghz

Link to post
Share on other sites
Posted · Original PosterOP
17 hours ago, mariushm said:

image.png.9dd11616d9fe35272f2be717233a6c7d.png

 

In use (Compressed) - this is the amount of data that is used by various programs in your ram sticks (56MB is compressed in ram)

Available - the amount of data that can be put in ram sticks by programs (6.7 GB + 25.2 GB = 31.9 GB) - arpund 100 MB is permanently locked and used by the operating system so it's excluded from these numbers.

Committed - the total amount of data that's help in memory system which is made out of RAM sticks AND page file, a file or several files on your hard drives where data is moved if ram sticks are getting full and a program wants to put more data in RAM.

This means that in total, there's 9 GB of data but only 6.7 GB of these 9 GB are in RAM sticks, the rest of 2.3 GB are dumped in the page file on the hard drive.

The 36.7 GB number tells you that at the moment you took the picture, there was 32 GB of RAM and 4.7 GB worth of page file, where data could potentially be written to, for example copied from RAM to hard disk to make room for other programs.

The page file is most often dynamic, meaning the operating system can increase its size if needed. So you may see that number of 36.7 GB increase, if you have some stupid program that consumes ALL your RAM memory and Windows has to move the data of other programs to disk to make room.

The Cached of 21.7 GB ... basically, Windows sees you have 25.2 GB of free space in RAM that's available for programs and secretly in the background uses portions of this free space to cache files (music you play, game files that are partially read from hard drive, and so on) to speed up things. As soon as a program needs room in RAM, the operating system will dump portions of this cached data to make room... so it's not affecting the performance of your PC. If the game asks suddenly for 10 GB of RAM, the operating system will instantly clear 5-10 GB from this cache of 21.7 GB of data and give it to the game.

 

Windows says the memory sticks are running at 2133 Mhz, that's the default (JEDEC) frequency of memory sticks. IF you didn't enable XMP, this is the default frequency BIOSes use. You should go in BIOS and enable XMP and try to use 3200 Mhz if this is the frequency your sticks are rated for.

Now, there's a small chance (let's say less than 5%) that your computer won't like running all four RAM sticks at 3200 Mhz, because it's not quite as easy to work at high frequencies with 4 RAM sticks, as when you're using only 2 RAM sticks. So, if you get errors in games or crashes, you may want to manually reduce the frequency to 3000 Mhz or in the worst case scenario, 2666 Mhz.

You should try to do this because it should give you a bit of performance boost.

 

Well explained, thank you very much for the effort. Very much appreciated! 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×