Question Low virtual memory crash need help

Aug 8, 2023
61
0
30
First up my system:Rx 6750 xt-ryzen 5 3600-16 GB of ram single stick.Msi 650w PSU.Mobo is b450m s2h with up to date bios.I reset windows 4-5 days ago so it cant be a virus or anything.Aside from audio drivers all are updated.Xmp is active

I ran memory diagnosis tool and it came back with 0 issues.

İssue:When i max out settings in Cod MW 2 and Witcher 3 while 4-5 Mozilla tabs are open in background.My game freezes and windows closes the game and Mozilla.In Cod while i was monitoring my ram/vram usage a crash happened while Vram was at 11.2 GB usage and Ram was at 12 GB.I will add 3 pictures 1 of which is the in game ram/Vram usage after increasing paging file size to min:24.576 max:49.152.One hwinfo picture shows the ram usage before changing paging file size and the other shows after.



Here is the transcript of event log.Couldnt translate it to English.Günlük Adı: System

Kaynak: Microsoft-Windows-Resource-Exhaustion-Detector

Tarih: 17.08.2023 01:00:31

Olay Kimliği: 2004

Görev Kategorisi:Kaynak Tükenme Tanısı Olayları

Düzey: Uyarı

Anahtar sözcükler:Sistem kaydetme sınırının (sanal bellek) tükenmesiyle ilgili olaylar.

Kullanıcı: SYSTEM

Bilgisayar: DESKTOP-FJQIE64

Açıklama:

Windows yetersiz sanal bellek durumunu başarıyla tanıladı. En fazla sanal belleği şu programlar kullanıyordu: cod.exe (300) 17473638400 bayt kullandı, steamwebhelper.exe (5788) 749494272 bayt kullandı ve steamwebhelper.exe (13788) 642646016 bayt kullandı.

Olay Xml'si:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

<System>

<Provider Name="Microsoft-Windows-Resource-Exhaustion-Detector" Guid="{9988748e-c2e8-4054-85f6-0c3e1cad2470}" />

<EventID>2004</EventID>

<Version>0</Version>

<Level>3</Level>

<Task>3</Task>

<Opcode>33</Opcode>

<Keywords>0x8000000020000000</Keywords>

<TimeCreated SystemTime="2023-08-16T22:00:31.1700126Z" />

<EventRecordID>1604</EventRecordID>

<Correlation ActivityID="{ffa1e0e5-ce94-410f-bf46-c1689be7157a}" />

<Execution ProcessID="15220" ThreadID="15540" />

<Channel>System</Channel>

<Computer>DESKTOP-FJQIE64</Computer>

<Security UserID="S-1-5-18" />

</System>

<UserData>

<MemoryExhaustionInfo xmlns="http://www.microsoft.com/Windows/Resource/Exhaustion/Detector/Events">

<SystemInfo>

<SystemCommitLimit>32020865024</SystemCommitLimit>

<SystemCommitCharge>31923818496</SystemCommitCharge>

<ProcessCommitCharge>25950560256</ProcessCommitCharge>

<PagedPoolUsage>839585792</PagedPoolUsage>

<PhysicalMemorySize>17100419072</PhysicalMemorySize>

<PhysicalMemoryUsage>13204312064</PhysicalMemoryUsage>

<NonPagedPoolUsage>675565568</NonPagedPoolUsage>

<Processes>191</Processes>

</SystemInfo>

<PagedPoolInfo>

<Tag_1>

<Name>Vi54</Name>

<PoolUsed>130629632</PoolUsed>

</Tag_1>

<Tag_2>

<Name>MmSt</Name>

<PoolUsed>116467824</PoolUsed>

</Tag_2>

<Tag_3>

<Name>Ntff</Name>

<PoolUsed>25017344</PoolUsed>

</Tag_3>

</PagedPoolInfo>

<NonPagedPoolInfo>

<Tag_1>

<Name>Irp </Name>

<PoolUsed>56922080</PoolUsed>

</Tag_1>

<Tag_2>

<Name>FMic</Name>

<PoolUsed>56149760</PoolUsed>

</Tag_2>

<Tag_3>

<Name>DAL3</Name>

<PoolUsed>55130080</PoolUsed>

</Tag_3>

</NonPagedPoolInfo>

<ProcessInfo>

<Process_1>

<Name>cod.exe</Name>

<ID>300</ID>

<CreationTime>2023-08-16T20:48:21.7074386Z</CreationTime>

<CommitCharge>17473638400</CommitCharge>

<HandleCount>3857</HandleCount>

<Version>1.0.0.0</Version>

<TypeInfo>201</TypeInfo>

</Process_1>

<Process_2>

<Name>steamwebhelper.exe</Name>

<ID>5788</ID>

<CreationTime>2023-08-16T21:48:03.1478912Z</CreationTime>

<CommitCharge>749494272</CommitCharge>

<HandleCount>767</HandleCount>

<Version>8.22.60.19</Version>

<TypeInfo>210</TypeInfo>

</Process_2>

<Process_3>

<Name>steamwebhelper.exe</Name>

<ID>13788</ID>

<CreationTime>2023-08-16T20:47:21.7751948Z</CreationTime>

<CommitCharge>642646016</CommitCharge>

<HandleCount>2462</HandleCount>

<Version>8.22.60.19</Version>

<TypeInfo>219</TypeInfo>

</Process_3>

<Process_4>

<Name>

</Name>

<ID>0</ID>

<CreationTime>1601-01-01T00:00:00.0000000Z</CreationTime>

<CommitCharge>0</CommitCharge>

<HandleCount>0</HandleCount>

<Version>0.0.0.0</Version>

<TypeInfo>0</TypeInfo>

</Process_4>

<Process_5>

<Name>

</Name>

<ID>0</ID>

<CreationTime>1601-01-01T00:00:00.0000000Z</CreationTime>

<CommitCharge>0</CommitCharge>

<HandleCount>0</HandleCount>

<Version>0.0.0.0</Version>

<TypeInfo>0</TypeInfo>

</Process_5>

<Process_6>

<Name>

</Name>

<ID>0</ID>

<CreationTime>1601-01-01T00:00:00.0000000Z</CreationTime>

<CommitCharge>0</CommitCharge>

<HandleCount>0</HandleCount>

<Version>0.0.0.0</Version>

<TypeInfo>0</TypeInfo>

</Process_6>

</ProcessInfo>

<ExhaustionEventInfo>

<Time>2023-08-16T22:00:29.8096738Z</Time>

</ExhaustionEventInfo>

</MemoryExhaustionInfo>

</UserData>

</Event>
 
I reset windows 4-5 days ago so it cant be a virus or anything.
Instead of resetting the OS, I'd have suggested recreating your bootable USB installer for the OS, reinstalling the OS then manually installing all drivers relevant to your platform in an elevated command, i.e, Right click installer>Run as Administrator.
 
How much space is left on system drive? Assuming pf is still on this drive.

Os consumes 2.5~3GB for itself and if not enough ram to backup vram then next destination is storage drive where pf is. If not enough space there then you'll get issues like this.

So more ram and more space for pf to grow will also help. In the meantime, don't fully utilise vram and minimise background tasks.
 
  • Like
Reactions: sitehostplus
I reset windows 4-5 days ago so it cant be a virus or anything.
Instead of resetting the OS, I'd have suggested recreating your bootable USB installer for the OS, reinstalling the OS then manually installing all drivers relevant to your platform in an elevated command, i.e, Right click installer>Run as Administrator.
What could be causing this much virtual memory usage?İn one if the pics it's at 97 percent meanwhile physical memory is at 87
 
How much space is left on system drive? Assuming pf is still on this drive.

Os consumes 2.5~3GB for itself and if not enough ram to backup vram then next destination is storage drive where pf is. If not enough space there then you'll get issues like this.

So more ram and more space for pf to grow will also help. In the meantime, don't fully utilise vram and minimise background tasks.
60 GB space is available in my system ssd.Can you check the hwinfo screenshot please.Is my virtual memory usage supposed to be higher than my max physical memory usage?
 
60 GB space is available in my system ssd.Can you check the hwinfo screenshot please.Is my virtual memory usage supposed to be higher than my max physical memory usage?

Yes it's normal. 16GB ram, as i was hinting at, isn't enough if you want to max out vram + the other stuff you're doing. Pf doesn't flush until after restart afaik so it'll continue to grow as more data goes there.
 
Yes it's normal. 16GB ram, as i was hinting at, isn't enough if you want to max out vram + the other stuff you're doing. Pf doesn't flush until after restart afaik so it'll continue to grow as more data goes there.
Are you sure though?As i said in my post when i received a crash my total tam usage was at 12gb and Vram was at 11.How can i get a low memory crash when I'm not even using 15 gb of ram?My system apparently committed around 30 GB of.memory according to the transcript i posted.Is that also normal?
 
When vram moves to system ram for the next round of data, however big that is when it happens then yeah 16gb ram isn't going be enough for 12GB worth of vram. System ram should at least double amount of vram.

Try expand pagefile higher or reduce vram usage.
 
When vram moves to system ram for the next round of data, however big that is when it happens then yeah 16gb ram isn't going be enough for 12GB worth of vram. System ram should at least double amount of vram.

Try expand pagefile higher or reduce vram usage.
Have you read all my post and checked the transcript and the screenshots?Its not that i don't believe you but i feel like this is unusual.Like physical ram is at 87% but virtual is at 97 for example " PhysicalMemoryUsage>13204312064</PhysicalMemoryUsage>" this was my ram usage during the crash and this is i believe the virtual ram
<SystemCommitLimit>32020865024</SystemCommitLimit>
<SystemCommitCharge>31923818496</SystemCommitCharge>.
<ProcessCommitCharge>25950560256</ProcessCommitCharge>
Even if my Vram was exceeding it's limit how come it consumed all of my virtual ram committed charge?I genuinely mean no offense by questioning you I'm just really worried about my system
 
I did see them. System will never use 100% of ram, there'll be some left incase windows needs it for integrity purposes - ie; losing work related data because of stability issues with ram.

If you set pagefile to self managed, do you still get issues?
 
  • Like
Reactions: hdmi123
I did see them. System will never use 100% of ram, there'll be some left incase windows needs it for integrity purposes - ie; losing work related data because of stability issues with ram.

If you set pagefile to self managed, do you still get issues?
Page file was already set to system managed.The screenshot where virtual memory usage is at 97% happened while it was system managed.Again it feels unusual for the system to commit almost 15 GB of virtual memory or page file whatever it's called on top of my 16gb physical ram when I'm not even using over 12 GB ram and 11gb Vram.In the event log it says cod.exe used almost 17 gb ram.Surely thats not enough to cause a crash.
 
Possibly. If you don't max out vram what happens?

How many drives have you got? Could try clear more space off of system drive or relocate pf to a different drive with more space? Another ssd would be handy if you can move pf to.
I haven't tried playing with lower settings yet.I got 3 ssds but i think 60gb free space is more than enough for pf.What else could be causing this issue?Is it simply a case of 16gb ram not keeping up with 12 GB cram GPU?Surely that's not it?
 
Until you try fetch more space for pf you won't know. It's recommended to have 15%, some say 20%, free space for ssds too to perform at a satisfactory level. Might not cause instability issues but having pf nearing that margin wouldn't be good.
What other things could be causing this error?Are my games using virtual memory instead of physical due to a bug or something?Am i experiencing memory leak?
 
this picture might explain you why you have high virtual ram usage while gaming
78869_43_directstorage-uses-new-algorithm-to-unlock-max-io-with-desktop-gpus_full.jpg

as you can see, game assets get stored in ram first, then they are copied into vram. with 12GB vram, 16GB ram should be fine, but no, you just decided to have stuffs running in background (firefox is like 10GB+?)
not even mentioning that your 12GB vram is filled up, that means some vram gets moved into virtual ram aswell (shared memory in msi afterburner OSD), btw msi afterburner shows just vram used by game, not by other things
View: https://imgur.com/ZfU56gK

deactivate dedicated memory \process and activate dedicated and shared in OSD (first two on picture)

anyway if virtual ram is twice biger than your system ram (commit charge in msi afterburner), then you should either get more ram or close background stuffs and if GPU vram cant keep up aswell, reduce some details
 
Last edited:
  • Like
Reactions: hdmi123
Not much else to be said than what has been already.

Fresh install would have been the better route , id still just do it if I were you. If more RAM is cost prohibitive ATM, get a a cheap SSD and use it for your page file. You can get decent ones for under $20.

Some might disagree with how I have mine set but I have 16MB (minimum allowed) on C: and the true pagefile size I find appropriate on a separate drive. **

** If anyone is wondering why I did that, Windows was having a conniption when I only had it on a secondary drive.
 
you only loose minidumps if you get swap file on non system drivers, no drama unless you crashing :)
Don't want to Hijack OPs thread so we can move to PM if needed but do you mean with what I'm doing or do you mean if I had left it only on a second drive?

Windows was giving me the finger and reverting my settings without the 16MB swap every boot no matter what. It kept recreating a system managed file on C and killing my custom one.
 
this picture might explain you why you have high virtual ram usage while gaming
78869_43_directstorage-uses-new-algorithm-to-unlock-max-io-with-desktop-gpus_full.jpg

as you can see, game assets get stored in ram first, then they are copied into vram. with 12GB vram, 16GB ram should be fine, but no, you just decided to have stuffs running in background (firefox is like 10GB+?)
not even mentioning that your 12GB vram is filled up, that means some vram gets moved into virtual ram aswell (shared memory in msi afterburner OSD), btw msi afterburner shows just vram used by game, not by other things
View: https://imgur.com/ZfU56gK

deactivate dedicated memory \process and activate dedicated and shared in OSD (first two on picture)

anyway if virtual ram is twice biger than your system ram (commit charge in msi afterburner), then you should either get more ram or close background stuffs and if GPU vram cant keep up aswell, reduce some details
So you really think 30gb of virtual memory is normal?I'm going to try some other settings and see how much it's at when i get home
 
this picture might explain you why you have high virtual ram usage while gaming
78869_43_directstorage-uses-new-algorithm-to-unlock-max-io-with-desktop-gpus_full.jpg

as you can see, game assets get stored in ram first, then they are copied into vram. with 12GB vram, 16GB ram should be fine, but no, you just decided to have stuffs running in background (firefox is like 10GB+?)
not even mentioning that your 12GB vram is filled up, that means some vram gets moved into virtual ram aswell (shared memory in msi afterburner OSD), btw msi afterburner shows just vram used by game, not by other things
View: https://imgur.com/ZfU56gK

deactivate dedicated memory \process and activate dedicated and shared in OSD (first two on picture)

anyway if virtual ram is twice biger than your system ram (commit charge in msi afterburner), then you should either get more ram or close background stuffs and if GPU vram cant keep up aswell, reduce some details
Atm im hung up on lack of physical memory to meet vram demand plus almost a full system drive. With that try the things we've discussed then go from there.
Here are pictures i took of the usage during gaming.Is this normal?
 
here are pictures of ram map and memory usage in game.Why do i have 4gb ram on standby but no virtual memory space?Shouldn't the game use that 4gb ram before filling virtual ram?
Windows will continuously move stale or underutilized data to the pagefile so that it doesn't run into a problem if an application suddenly requests 95% of your RAM. If Windows waited until your RAM was full, it would take significantly longer to load that high-RAM application, since it has to write an absolute ton of data to your (very slow) pagefile. Keeping true RAM utilization low by writing to the pagefile whenever possible is the most efficient way for your computer to operate.
 
  • Like
Reactions: hdmi123

TRENDING THREADS