Jump to content

How To Dump Memory Cached?

ZarCusHD

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 comment
Share on other sites

Link to post
Share on other sites

Please quote my post, or put @paddy-stone if you want me to respond to you.

Spoiler
  • PCs:- 
  • Main PC build  https://uk.pcpartpicker.com/list/2K6Q7X
  • 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:-
  • Philips 55 OLED 754 model
  • Panasonic 55" 4k TV
  • LG 29" Ultrawide
  • Philips 24" 1080p monitor as backup
  •  
  • Storage/NAS/Servers:-
  • ESXI/test build  https://uk.pcpartpicker.com/list/4wyR9G
  • Main Server https://uk.pcpartpicker.com/list/3Qftyk
  • 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/Pocafone F2 pro 8GB/256GB
  • Xiaomi Redmi Note 4

 

  • Unused Hardware currently :-
  • 4670K MSI mobo 16GB ram
  • i7 6700K  b250 mobo
  • Zotac GTX 1060 6GB Amp! edition
  • Zotac GTX 1050 mini

 

 

Link to comment
Share on other sites

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 comment
Share on other sites

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.

Personal Desktop":

CPU: Intel Core i7 10700K @5ghz |~| Cooling: bq! Dark Rock Pro 4 |~| MOBO: Gigabyte Z490UD ATX|~| RAM: 16gb DDR4 3333mhzCL16 G.Skill Trident Z |~| GPU: RX 6900XT Sapphire Nitro+ |~| PSU: Corsair TX650M 80Plus Gold |~| Boot:  SSD WD Green M.2 2280 240GB |~| Storage: 1x3TB HDD 7200rpm Seagate Barracuda + SanDisk Ultra 3D 1TB |~| Case: Fractal Design Meshify C Mini |~| Display: Toshiba UL7A 4K/60hz |~| OS: Windows 10 Pro.

Luna, the temporary Desktop:

CPU: AMD R9 7950XT  |~| Cooling: bq! Dark Rock 4 Pro |~| MOBO: Gigabyte Aorus Master |~| RAM: 32G Kingston HyperX |~| GPU: AMD Radeon RX 7900XTX (Reference) |~| PSU: Corsair HX1000 80+ Platinum |~| Windows Boot Drive: 2x 512GB (1TB total) Plextor SATA SSD (RAID0 volume) |~| Linux Boot Drive: 500GB Kingston A2000 |~| Storage: 4TB WD Black HDD |~| Case: Cooler Master Silencio S600 |~| Display 1 (leftmost): Eizo (unknown model) 1920x1080 IPS @ 60Hz|~| Display 2 (center): BenQ ZOWIE XL2540 1920x1080 TN @ 240Hz |~| Display 3 (rightmost): Wacom Cintiq Pro 24 3840x2160 IPS @ 60Hz 10-bit |~| OS: Windows 10 Pro (games / art) + Linux (distro: NixOS; programming and daily driver)
Link to comment
Share on other sites

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 3700x / GPU: Asus Radeon RX 6750XT OC 12GB / 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 comment
Share on other sites

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 comment
Share on other sites

Link to post
Share on other sites

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 comment
Share on other sites

Link to post
Share on other sites

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 comment
Share on other sites

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.

Personal Desktop":

CPU: Intel Core i7 10700K @5ghz |~| Cooling: bq! Dark Rock Pro 4 |~| MOBO: Gigabyte Z490UD ATX|~| RAM: 16gb DDR4 3333mhzCL16 G.Skill Trident Z |~| GPU: RX 6900XT Sapphire Nitro+ |~| PSU: Corsair TX650M 80Plus Gold |~| Boot:  SSD WD Green M.2 2280 240GB |~| Storage: 1x3TB HDD 7200rpm Seagate Barracuda + SanDisk Ultra 3D 1TB |~| Case: Fractal Design Meshify C Mini |~| Display: Toshiba UL7A 4K/60hz |~| OS: Windows 10 Pro.

Luna, the temporary Desktop:

CPU: AMD R9 7950XT  |~| Cooling: bq! Dark Rock 4 Pro |~| MOBO: Gigabyte Aorus Master |~| RAM: 32G Kingston HyperX |~| GPU: AMD Radeon RX 7900XTX (Reference) |~| PSU: Corsair HX1000 80+ Platinum |~| Windows Boot Drive: 2x 512GB (1TB total) Plextor SATA SSD (RAID0 volume) |~| Linux Boot Drive: 500GB Kingston A2000 |~| Storage: 4TB WD Black HDD |~| Case: Cooler Master Silencio S600 |~| Display 1 (leftmost): Eizo (unknown model) 1920x1080 IPS @ 60Hz|~| Display 2 (center): BenQ ZOWIE XL2540 1920x1080 TN @ 240Hz |~| Display 3 (rightmost): Wacom Cintiq Pro 24 3840x2160 IPS @ 60Hz 10-bit |~| OS: Windows 10 Pro (games / art) + Linux (distro: NixOS; programming and daily driver)
Link to comment
Share on other sites

Link to post
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

Link to post
Share on other sites

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 comment
Share on other sites

Link to post
Share on other sites

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 comment
Share on other sites

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

×