Question "Windows successfully diagnosed a low virtual memory condition" Current game crashes, along with (if open) discord and any internet browser

Jul 12, 2023
13
0
10
Hello, I have recently been having issues with game crashes along with other apps at the same time. This has never happened before. I think the trigger may have been me trying to change some graphic settings in order to play Rust or installing Opera gx about a month ago. I have since reverted all changes (I am 100% sure as I keep track of everything I change in case I need to revert it), uninstalled Rust and Opera gx. In computer management windows logs, I get a warning when these crashes happen.

Usually, I play a video game with Discord running and Chrome on my second monitor. The game will freeze after about 30min for a second and crash, or rather, just "close", and I land on the desktop. No error or message of any kind. Discord and the browser stop responding and I need to open my task manager to close them in order to reboot them. At this point, I usually reboot my pc as well. This only happens with "high-end" games with high graphics requirements. It seems somewhat random as it sometimes just doesn't happen. But it happens more often than it does not. I am not sure what to do and I would like to avoid a windows reinstall, but if it is the only option, then I will do it.

I figured it may be related to a memory leak thanks to this post

The drive folder below has the log details as well as a screenshot of the computer management window and my pc specs.

Google drive folder

"HuntGame.exe" is the video game I was playing at the time, but it happens with other "high end" games as well that I have been playing for years without issues.
If any other information is required from me, please let me know. Any help would be greatly appreciated :)

Edit: PC / OS / PSU specs are in the drive folder. Speccy link here.
 
Last edited:
Jul 12, 2023
13
0
10
check resource monitor.
did you install any VM?
I know how to access the resource monitor but not sure what I should be looking for there.
And if you mean Virtual Machine then no, I have not. Or at least have no memory or knowledge of it being installed.
I have added a screenshot of the resource monitor in the google drive files if that helps. Sorry, I really am not sure what I should be looking out for =/
 
Jul 12, 2023
13
0
10
monitor the game ram usage during the game.
can also increase the virtual memory size
driver are up to date?
Yes, all drivers are up to date. I have been trying to catch the issue in the act but when I monitor, no issue happens. I will keep monitoring every time I game and report what happens.
I was using the task manager, is that enough? or should I check with the resource monitor?
 

ubuysa

Distinguished
You might want to export and upload the event logs, there might be some clues in there....
  1. Enter the command eventvwr into the Run command box. The Event Viewer will open.
  2. Locate the Windows Logs folder in the left hand pane and expand it by clicking on the arrow (>) to the left of it.
  3. Right-click on the Application entry and select 'Save all events as...'. Choose a folder anywhere that suits you and a filename of 'Application' (an .evtx suffix will be added automatically).
  4. Right-click on the System entry and select 'Save all events as...'. Choose a folder anywhere that suits you and a filename of 'System' (an .evtx suffix will be added automatically).
  5. Zip the Application.evtx and System.evtx files together and upload the zip file here.
 
Jul 12, 2023
13
0
10
You might want to export and upload the event logs, there might be some clues in there....
  1. Enter the command eventvwr into the Run command box. The Event Viewer will open.
  2. Locate the Windows Logs folder in the left hand pane and expand it by clicking on the arrow (>) to the left of it.
  3. Right-click on the Application entry and select 'Save all events as...'. Choose a folder anywhere that suits you and a filename of 'Application' (an .evtx suffix will be added automatically).
  4. Right-click on the System entry and select 'Save all events as...'. Choose a folder anywhere that suits you and a filename of 'System' (an .evtx suffix will be added automatically).
  5. Zip the Application.evtx and System.evtx files together and upload the zip file here.
Thanks, I have added the zip files to the drive folder.
The last time this issue occurred was yesterday 12th of July at 18:43 and 18:49. Basically it crashed my game, I tried to rejoin the game and minutes later crashed again. (see log-sc.png)
 

ubuysa

Distinguished
There are, as you said, a large number of warning messages related to 'virtual storage exhaustion'. I'm not sure how well you understand virtual storage, so forgive me if I seem to be preaching.

[TL-DR]
NewWorld.exe and Frostpunk.exe are your problem, they have memory leaks.
[/TL-DR]

Here is a typical virtual storage exhaustion warning message from your System log...
Code:
Log Name:      System
Source:        Microsoft-Windows-Resource-Exhaustion-Detector
Date:          06/07/2023 22:09:34
Event ID:      2004
Task Category: Resource Exhaustion Diagnosis Events
Level:         Warning
Keywords:      Events related to exhaustion of system commit limit (virtual memory).
User:          SYSTEM
Computer:      firestorm
Description:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: NewWorld.exe (15600) consumed 14362222592 bytes, steamwebhelper.exe (3148) consumed 479412224 bytes, and NordVPN.exe (13700) consumed 348532736 bytes.
Event Xml:
<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-07-06T19:09:34.9221025Z" />
    <EventRecordID>125910</EventRecordID>
    <Correlation ActivityID="{425a6415-924d-4bfa-8d97-68aa6c7ce484}" />
    <Execution ProcessID="14176" ThreadID="11864" />
    <Channel>System</Channel>
    <Computer>firestorm</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <UserData>
    <MemoryExhaustionInfo xmlns="http://www.microsoft.com/Windows/Resource/Exhaustion/Detector/Events">
      <SystemInfo>
        <SystemCommitLimit>23840153600</SystemCommitLimit>
        <SystemCommitCharge>23682207744</SystemCommitCharge>
        <ProcessCommitCharge>19555442688</ProcessCommitCharge>
        <PagedPoolUsage>571817984</PagedPoolUsage>
        <PhysicalMemorySize>17129267200</PhysicalMemorySize>
        <PhysicalMemoryUsage>14672547840</PhysicalMemoryUsage>
        <NonPagedPoolUsage>398479360</NonPagedPoolUsage>
        <Processes>198</Processes>
      </SystemInfo>
      <PagedPoolInfo>
        <Tag_1>
          <Name>MmSt</Name>
          <PoolUsed>169786464</PoolUsed>
        </Tag_1>
        <Tag_2>
          <Name>FMfn</Name>
          <PoolUsed>66657616</PoolUsed>
        </Tag_2>
        <Tag_3>
          <Name>Ntff</Name>
          <PoolUsed>33138688</PoolUsed>
        </Tag_3>
      </PagedPoolInfo>
      <NonPagedPoolInfo>
        <Tag_1>
          <Name>None</Name>
          <PoolUsed>54539520</PoolUsed>
        </Tag_1>
        <Tag_2>
          <Name>NVRM</Name>
          <PoolUsed>53939536</PoolUsed>
        </Tag_2>
        <Tag_3>
          <Name>ArL2</Name>
          <PoolUsed>25222928</PoolUsed>
        </Tag_3>
      </NonPagedPoolInfo>
      <ProcessInfo>
        <Process_1>
          <Name>NewWorld.exe</Name>
          <ID>15600</ID>
          <CreationTime>2023-07-06T17:40:07.1568595Z</CreationTime>
          <CommitCharge>14362222592</CommitCharge>
          <HandleCount>9343</HandleCount>
          <Version>1.81.939.26868</Version>
          <TypeInfo>201</TypeInfo>
        </Process_1>
        <Process_2>
          <Name>steamwebhelper.exe</Name>
          <ID>3148</ID>
          <CreationTime>2023-07-06T17:39:04.8624018Z</CreationTime>
          <CommitCharge>479412224</CommitCharge>
          <HandleCount>759</HandleCount>
          <Version>8.14.49.6</Version>
          <TypeInfo>210</TypeInfo>
        </Process_2>
        <Process_3>
          <Name>NordVPN.exe</Name>
          <ID>13700</ID>
          <CreationTime>2023-07-06T17:38:51.1376221Z</CreationTime>
          <CommitCharge>348532736</CommitCharge>
          <HandleCount>1825</HandleCount>
          <Version>1.0.2.27</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-07-06T19:09:33.9083282Z</Time>
      </ExhaustionEventInfo>
    </MemoryExhaustionInfo>
  </UserData>
</Event>
There's a lot of detail there but we can isolate the important bits...
Code:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: NewWorld.exe (15600) consumed 14362222592 bytes, steamwebhelper.exe (3148) consumed 479412224 bytes, and NordVPN.exe (13700) consumed 348532736 bytes.

This part of the message is pretty clear, it tells you that virtual storage was running low, and it shows you three processes that were consuming the most virtual storage. Notice that NewWorld.exe was consuming over 13GB of virtual storage!

Many of these messages report a different largest virtual storage user...
Code:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: Frostpunk.exe (9144) consumed 10576523264 bytes, steamwebhelper.exe (3148) consumed 576827392 bytes, and chrome.exe (84) consumed 486969344 bytes.

Here it's Frostpunk.exe that's the biggest consumer at close to 10GB. As far as I can tell, and I've not checked every single message, these two processes are the main consumers of virtual storage.

There is other useful information in the XML part these messages, but I might need to explain what they mean. This is from the long message I showed you above (the one where NewWorld.exe was the largest consumer)...
Code:
  <SystemInfo>
        <SystemCommitLimit>23840153600</SystemCommitLimit>
        <SystemCommitCharge>23682207744</SystemCommitCharge>
        <ProcessCommitCharge>19555442688</ProcessCommitCharge>
        <PagedPoolUsage>571817984</PagedPoolUsage>
        <PhysicalMemorySize>17129267200</PhysicalMemorySize>
        <PhysicalMemoryUsage>14672547840</PhysicalMemoryUsage>
        <NonPagedPoolUsage>398479360</NonPagedPoolUsage>
        <Processes>198</Processes>
      </SystemInfo>
PhyscialMemorySize and PhysicalMemoryUsage relate to RAM, so you have 16GB of RAM and you're using 13.66GB of it - so how can you be out of virtual storage?

The important fields there are the SystemCommitLimit and the SystemCommitCharge. I'll explain these in case you don't know (apologies if you do). When any process wants to allocate memory it must ask the Windows Memory Manager to authorise the allocation. Note that, when a process allocates memory all Windows does is check that there is enough virtual storage to contain that allocation - if the process were to actually use it.

At the time of allocation though, the process has just asked permission to use that memory, it hasn't actually written to any of it yet, so there is no change in memory used. However, Windows must remember that it's allowed the allocation, so it commits enough virtual storage to accommodate it by raising the SystemCommitCharge - which is the total amount of virtual storage memory allocations that the Memory Manager has approved.

When a process has finished with a memory allocation it deallocates it, this tells the Memory Manager to reduce the SystemCommitCharge by that amount. In a normal system then, the SystemCommitCharge is going up and down as processes use, and then free, memory.

Whenever the Memory Manager receives an allocation request it checks the SystemCommitLimit value - this is the maximum virtual storage that you have, it's the sum of your RAM plus the size of the paging file. It also checks the current SystemCommitCharge value, this is the amount of virtual storage already allocated (committed). If the requested allocation would cause the SystemCommitCharge value to exceed the SystemCommitLimit then the Memory Manager will refuse it and you'll see one of these log messages - and probably an application failure or instability.

In the example from your log you can see that the SystemCommitLimit is 22.22GB and the SystemCommitCharge is 22.05GB - that is why you're getting these out of virtual storage messages. You really are running out of virtual stroage.

Something is allocating vast amounts of memory that they're not using (because both RAM and the paging file are underutilised) and which they are not subsequently freeing - this is known as a memory leak. Notice that NewWorld.exe and Frostpunk.exe are allocating 13GB and 10GB respectively, the next highest virtual memory user (steamwebhelper.exe) is allocating only around 512MB.

The problem is NewWorld.exe and Frostpunk.exe - they have memory leaks.
 
Last edited:
Jul 12, 2023
13
0
10
I managed to catch the crash while having the task manager and the resource monitor open. I did not notice anything unusual with the CPU or memory in the task manager. There were no spikes or anything of the sort. I knew it was about to happen because chrome gave me the "memory error", when it does this, the page turns dark grey and shows the error message (you can see in the screenshots the background is dark grey, that is chrome). I tried to take a screenshot as it was happening but was 1s too late. TBF, the game just closes and everything behaves just as it would if the game was closed. But again, I did not notice anything unusual. Perhaps you guys can.
I have created a new folder with screenshots and updated zip files from the event viewer. All this happened around 17:00 today.
 
Jul 12, 2023
13
0
10
There are, as you said, a large number of warning messages related to 'virtual storage exhaustion'. I'm not sure how well you understand virtual storage, so forgive me if I seem to be preaching.

[TL-DR]
NewWorld.exe and Frostpunk.exe are your problem, they have memory leaks.
[/TL-DR]

Here is a typical virtual storage exhaustion warning message from your System log...
Code:
Log Name:      System
Source:        Microsoft-Windows-Resource-Exhaustion-Detector
Date:          06/07/2023 22:09:34
Event ID:      2004
Task Category: Resource Exhaustion Diagnosis Events
Level:         Warning
Keywords:      Events related to exhaustion of system commit limit (virtual memory).
User:          SYSTEM
Computer:      firestorm
Description:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: NewWorld.exe (15600) consumed 14362222592 bytes, steamwebhelper.exe (3148) consumed 479412224 bytes, and NordVPN.exe (13700) consumed 348532736 bytes.
Event Xml:
<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-07-06T19:09:34.9221025Z" />
    <EventRecordID>125910</EventRecordID>
    <Correlation ActivityID="{425a6415-924d-4bfa-8d97-68aa6c7ce484}" />
    <Execution ProcessID="14176" ThreadID="11864" />
    <Channel>System</Channel>
    <Computer>firestorm</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <UserData>
    <MemoryExhaustionInfo xmlns="http://www.microsoft.com/Windows/Resource/Exhaustion/Detector/Events">
      <SystemInfo>
        <SystemCommitLimit>23840153600</SystemCommitLimit>
        <SystemCommitCharge>23682207744</SystemCommitCharge>
        <ProcessCommitCharge>19555442688</ProcessCommitCharge>
        <PagedPoolUsage>571817984</PagedPoolUsage>
        <PhysicalMemorySize>17129267200</PhysicalMemorySize>
        <PhysicalMemoryUsage>14672547840</PhysicalMemoryUsage>
        <NonPagedPoolUsage>398479360</NonPagedPoolUsage>
        <Processes>198</Processes>
      </SystemInfo>
      <PagedPoolInfo>
        <Tag_1>
          <Name>MmSt</Name>
          <PoolUsed>169786464</PoolUsed>
        </Tag_1>
        <Tag_2>
          <Name>FMfn</Name>
          <PoolUsed>66657616</PoolUsed>
        </Tag_2>
        <Tag_3>
          <Name>Ntff</Name>
          <PoolUsed>33138688</PoolUsed>
        </Tag_3>
      </PagedPoolInfo>
      <NonPagedPoolInfo>
        <Tag_1>
          <Name>None</Name>
          <PoolUsed>54539520</PoolUsed>
        </Tag_1>
        <Tag_2>
          <Name>NVRM</Name>
          <PoolUsed>53939536</PoolUsed>
        </Tag_2>
        <Tag_3>
          <Name>ArL2</Name>
          <PoolUsed>25222928</PoolUsed>
        </Tag_3>
      </NonPagedPoolInfo>
      <ProcessInfo>
        <Process_1>
          <Name>NewWorld.exe</Name>
          <ID>15600</ID>
          <CreationTime>2023-07-06T17:40:07.1568595Z</CreationTime>
          <CommitCharge>14362222592</CommitCharge>
          <HandleCount>9343</HandleCount>
          <Version>1.81.939.26868</Version>
          <TypeInfo>201</TypeInfo>
        </Process_1>
        <Process_2>
          <Name>steamwebhelper.exe</Name>
          <ID>3148</ID>
          <CreationTime>2023-07-06T17:39:04.8624018Z</CreationTime>
          <CommitCharge>479412224</CommitCharge>
          <HandleCount>759</HandleCount>
          <Version>8.14.49.6</Version>
          <TypeInfo>210</TypeInfo>
        </Process_2>
        <Process_3>
          <Name>NordVPN.exe</Name>
          <ID>13700</ID>
          <CreationTime>2023-07-06T17:38:51.1376221Z</CreationTime>
          <CommitCharge>348532736</CommitCharge>
          <HandleCount>1825</HandleCount>
          <Version>1.0.2.27</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-07-06T19:09:33.9083282Z</Time>
      </ExhaustionEventInfo>
    </MemoryExhaustionInfo>
  </UserData>
</Event>
There's a lot of detail there but we can isolate the important bits...
Code:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: NewWorld.exe (15600) consumed 14362222592 bytes, steamwebhelper.exe (3148) consumed 479412224 bytes, and NordVPN.exe (13700) consumed 348532736 bytes.

This part of the message is pretty clear, it tells you that virtual storage was running low, and it shows you three processes that were consuming the most virtual storage. Notice that NewWorld.exe was consuming over 13GB of virtual storage!

Many of these messages report a different largest virtual storage user...
Code:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: Frostpunk.exe (9144) consumed 10576523264 bytes, steamwebhelper.exe (3148) consumed 576827392 bytes, and chrome.exe (84) consumed 486969344 bytes.

Here it's Frostpunk.exe that's the biggest consumer at close to 10GB. As far as I can tell, and I've not checked every single message, these two processes are the main consumers of virtual storage.

There is other useful information in the XML part these messages, but I might need to explain what they mean. This is from the long message I showed you above (the one where NewWorld.exe was the largest consumer)...
Code:
  <SystemInfo>
        <SystemCommitLimit>23840153600</SystemCommitLimit>
        <SystemCommitCharge>23682207744</SystemCommitCharge>
        <ProcessCommitCharge>19555442688</ProcessCommitCharge>
        <PagedPoolUsage>571817984</PagedPoolUsage>
        <PhysicalMemorySize>17129267200</PhysicalMemorySize>
        <PhysicalMemoryUsage>14672547840</PhysicalMemoryUsage>
        <NonPagedPoolUsage>398479360</NonPagedPoolUsage>
        <Processes>198</Processes>
      </SystemInfo>
PhyscialMemorySize and PhysicalMemoryUsage relate to RAM, so you have 16GB of RAM and you're using 13.66GB of it - so how can you be out of virtual storage?

The important fields there are the SystemCommitLimit and the SystemCommitCharge. I'll explain these in case you don't know (apologies if you do). When any process wants to allocate memory it must ask the Windows Memory Manager to authorise the allocation. Note that, when a process allocates memory all Windows does is check that there is enough virtual storage to contain that allocation - if the process were to actually use it.

At the time of allocation though, the process has just asked permission to use that memory, it hasn't actually written to any of it yet, so there is no change in memory used. However, Windows must remember that it's allowed the allocation, so it commits enough virtual storage to accommodate it by raising the SystemCommitCharge - which is the total amount of virtual storage memory allocations that the Memory Manager has approved.

When a process has finished with a memory allocation it deallocates it, this tells the Memory Manager to reduce the SystemCommitCharge by that amount. In a normal system then, the SystemCommitCharge is going up and down as processes use, and then free, memory.

Whenever the Memory Manager receives an allocation request it checks the SystemCommitLimit value - this is the maximum virtual storage that you have, it's the sum of your RAM plus the size of the paging file. It also checks the current SystemCommitCharge value, this is the amount of virtual storage already allocated (committed). If the requested allocation would cause the SystemCommitCharge value to exceed the SystemCommitLimit then the Memory Manager will refuse it and you'll see one of these log messages - and probably an application failure or instability.

In the example from your log you can see that the SystemCommitLimit is 22.22GB and the SystemCommitCharge is 22.05GB - that is why you're getting these out of virtual storage messages. You really are running out of virtual stroage.

Something is allocating vast amounts of memory that they're not using (because both RAM and the paging file are underutilised) and which they are not subsequently freeing - this is known as a memory leak. Notice that NewWorld.exe and Frostpunk.exe are allocating 13GB and 10GB respectively, the next highest virtual memory user (steamwebhelper.exe) is allocating only around 512MB.

The problem is NewWorld.exe and Frostpunk.exe - they have memory leaks.
No no thank you so much for explaining this, I really don't know much of anything about this subject.
This is very surprising to me that frostpunk is causing a memory leak, I've had this game for years and play it every now and then for hours on end (it's a survival city builder) and have never had any issues ever. Apart from recently of course. I remember it crashing once this week or last week in the same way I've described.

New world (mmorpg) I have installed very recently and crashes usually happen whenever I enter populated areas.

What about HuntGame.exe? This is the game I play almost every day. I've been playing it for years without any issues whatsoever and then recently these crashes.

Do you have any advice on what I can do to fix this? Would a Windows reinstall help? I really don't want to bother too much if it is a long process. I really don't mind looking myself but would greatly appreciate a lead like what to google or a forum post that would help :)

PS: thank you so so much for taking the time to look at this and explaining, I normally don't ask online since I can usually fix these issues myself but I could not understand what was happening here. I greatly appreciate the time you took to have a look and giving me feedback!

Edit: If I understand correctly, even if my pc has enough virtual storage (16GB) and it is saying I am running out of virtual storage even if 13GB is being used, this is due to the fact that some apps are affected by a memory leak, correct?

2nd Edit: I forgot to mention that I made sure to replicate as closely as possible the usual way these crashes happen so I had discord open as well but was not using it and it was also (just like chrome) frozen (unresponsive) and had to end the task and reboot it for it to work
 
Last edited:

ubuysa

Distinguished
Virtual storage is your RAM plus the paging file. A page of memory can be in RAM or the paging file.

Is your paging file set to 'system managed?
How much space is left on the system drive?
 
  • Like
Reactions: cwsink
Jul 12, 2023
13
0
10
Virtual storage is your RAM plus the paging file. A page of memory can be in RAM or the paging file.

Is your paging file set to 'system managed?
How much space is left on the system drive?
My page file is not set to "system managed". Should I change it to that? (I have added a screenshot called pagefile-sc in the drive so you can have a look)
I have 18GB left on my SSD. It doesn't have a lot of space on it from the get-go (100GB) so only Windows is installed on it. This pc came with a H: drive with 2TB space so all my games and other apps are installed there.
This pc has always had around 20GB left for the past 7 years or so and never had an issue with it.
 

Ralston18

Titan
Moderator
Just "going back a bit".....

Update your post to include full system hardware specs and OS information.

Include PSU: make, model, wattage, age, condition (original to build, new, refurbished, used)?

History of heavy gaming use - correct?

My thought is that the PSU may be failing or faltering in some manner. Especially if an older PSU.

Remember PSU's provide three different voltages (3, 5, and 12) to various system components including RAM and drives.

Even little power glitches can and will wreak havoc.

Is it possible to swap in another PSU for testing purposes?

= = = =

Event Viewer logs - yes check the logs.

Also look in Reliability History/Monitor. Much more user friendly than Event Viewer and the timeline format may reveal some patterns.
 

ubuysa

Distinguished
The page file size you have set is way too small and will be making this problem worse. Check the 'Automatically manage paging file size for all drive' checkbox at the top.

18GB free on a 120GB SSD is not enough. For one thing, SSDs do not like to be filled because it makes the wear levelling and garbage collection more difficult. You really want to be moving everything except the operating system and programs off that drive onto the HDD. Either that, or you need a bigger SSD. My system drive is 512GB for example.

All this will help, but none of it will alter the way some apps (games?) are allocating virtual memory. To try and help I've gone through all these low virtual memory entries in your log, and they go back to December 22nd 2022 , so this has been going on for some time.

These are the programs that have caused virtual memory exhaustion to occur....
  • NewWorld.exe
  • Frostpunk.exe
  • HuntGame.exe
  • proven_ground_client.exe
  • Darkest Dungeon II.exe
  • Wartales.exe
  • RustClient.exe
  • eldenring.exe
  • yuzu.exe
  • PathOfExileSteam.exe
I don't game so I have no idea what any of those are, but clearly some are games. Obviously they don't all have buggy memory allocation code, but all of them are over-allocating virtual memory and not using (or freeing) it. The question then is; what is common about all these programs? Do they all run under some sort of supervisor?

Others, who do game and do know how these programs operate, may be able to offer more insight. I can't see this being a Windows memory manager problem, or a general virtual storage problem, because we'd see it more widely. Your small pagefile isn't helping, but that's not really the cause - all of the above allocated way more than 10GB of virtual storage each and that seems insane to me.

You now need help from others on here. I can see what the problem is, but I have no idea why. Can anyone else help?

Later Edit: I've been thinking about what could cause this issue all day, and one thing that it might be - this is really little more than an educated guess however - is whether this could be graphics card or graphics driver related? You mentioned in your OP that you'd 'changed some graphics settings' and AFAIK all the programs that are causing low virtual memory are graphics intensive?

It's worth downloading the three most recent versions of your graphics driver, and also download DDU. Use DDU to uninstall the current driver and then install the latest version of the driver. If you still get the issue then install each of the previous two versions (using DDU between each one) and see whether any of those drivers prevents this problem.

My thinking here is that something is causing these programs to make memory allocations that they don't free. One possibility is that a driver is misbehaving and causing calling programs to make these memory allocations over and over. Since the affected programs are mainly games, the graphics driver (or the card of course) are the prime suspect.

You could try running Driver Verifier to see whether we can catch the potentially flaky driver. If you want to try that let me know and I'll tell you what options to use.

It would be useful to see your full spec, so can you download and run Speccy please. When it's analysed your system click File > Publish snapshot. You will be given a URL, please post that URL here.

Could you also issue the command msinfo32 in the Run command box. In the msinfo32 dialog, clieck File > Save, call the file Msinfo (it will be given a .nfo suffix) and save it anywhere convenient. Then please zip that up and upload that too.
 
Last edited:
Jul 12, 2023
13
0
10
Just "going back a bit".....

Update your post to include full system hardware specs and OS information.

Include PSU: make, model, wattage, age, condition (original to build, new, refurbished, used)?

History of heavy gaming use - correct?

My thought is that the PSU may be failing or faltering in some manner. Especially if an older PSU.

Remember PSU's provide three different voltages (3, 5, and 12) to various system components including RAM and drives.

Even little power glitches can and will wreak havoc.

Is it possible to swap in another PSU for testing purposes?

= = = =

Event Viewer logs - yes check the logs.

Also look in Reliability History/Monitor. Much more user friendly than Event Viewer and the timeline format may reveal some patterns.
History of heavy gaming use is correct. I work in the graphic design field as well so a lot of Adobe suite use (photoshop, illustrator, etc) not sure if this info helps.
PSU is just under 10 years old and is original to build, so has never been changed.
I have had a single issue with it (at least I think it is related to the PSU but please excuse me if I am mistaken): if the pc is shut down and left off for a few days, it will at some point turn on by itself. It happens rarely but every time I went on vacation for about one week without disconnecting my pc from the power supply, it would happen. In the 10 years I have had this pc, I think it has happened around 10 times. Now, whenever I leave for more than one day, I make sure the power supply is disconnected. (Funny story: it spooked my gf one evening when she was watching a horror movie and the pc just turned on across the room lol). I know it is related to the PSU because I have moved around Africa and Europe quite a bit and it has happened in all places I have lived. I also make sure to open up my pc and clean it out every 2 to 3 months.
It is not possible to swap in another PSU for testing purposes.

I am not sure how to display the information you have asked so I have taken a picture of the PSU details which are in the google drive. I hope that is alright. If not, please let me know what else I can do.

For the pc specs and OS information I believe I have already shared this on the google drive folder but if I have forgotten something please let me know. I will update the post to indicate all of it is in the drive folder for clarity.
 
Jul 12, 2023
13
0
10
The page file size you have set is way too small and will be making this problem worse. Check the 'Automatically manage paging file size for all drive' checkbox at the top.

18GB free on a 120GB SSD is not enough. For one thing, SSDs do not like to be filled because it makes the wear levelling and garbage collection more difficult. You really want to be moving everything except the operating system and programs off that drive onto the HDD. Either that, or you need a bigger SSD. My system drive is 512GB for example.

All this will help, but none of it will alter the way some apps (games?) are allocating virtual memory. To try and help I've gone through all these low virtual memory entries in your log, and they go back to December 22nd 2022 , so this has been going on for some time.

These are the programs that have caused virtual memory exhaustion to occur....
  • NewWorld.exe
  • Frostpunk.exe
  • HuntGame.exe
  • proven_ground_client.exe
  • Darkest Dungeon II.exe
  • Wartales.exe
  • RustClient.exe
  • eldenring.exe
  • yuzu.exe
  • PathOfExileSteam.exe
I don't game so I have no idea what any of those are, but clearly some are games. Obviously they don't all have buggy memory allocation code, but all of them are over-allocating virtual memory and not using (or freeing) it. The question then is; what is common about all these programs? Do they all run under some sort of supervisor?

Others, who do game and do know how these programs operate, may be able to offer more insight. I can't see this being a Windows memory manager problem, or a general virtual storage problem, because we'd see it more widely. Your small pagefile isn't helping, but that's not really the cause - all of the above allocated way more than 10GB of virtual storage each and that seems insane to me.

You now need help from others on here. I can see what the problem is, but I have no idea why. Can anyone else help?

Later Edit: I've been thinking about what could cause this issue all day, and one thing that it might be - this is really little more than an educated guess however - is whether this could be graphics card or graphics driver related? You mentioned in your OP that you'd 'changed some graphics settings' and AFAIK all the programs that are causing low virtual memory are graphics intensive?

It's worth downloading the three most recent versions of your graphics driver, and also download DDU. Use DDU to uninstall the current driver and then install the latest version of the driver. If you still get the issue then install each of the previous two versions (using DDU between each one) and see whether any of those drivers prevents this problem.

My thinking here is that something is causing these programs to make memory allocations that they don't free. One possibility is that a driver is misbehaving and causing calling programs to make these memory allocations over and over. Since the affected programs are mainly games, the graphics driver (or the card of course) are the prime suspect.

You could try running Driver Verifier to see whether we can catch the potentially flaky driver. If you want to try that let me know and I'll tell you what options to use.

It would be useful to see your full spec, so can you download and run Speccy please. When it's analysed your system click File > Publish snapshot. You will be given a URL, please post that URL here.

Could you also issue the command msinfo32 in the Run command box. In the msinfo32 dialog, clieck File > Save, call the file Msinfo (it will be given a .nfo suffix) and save it anywhere convenient. Then please zip that up and upload that too.
Ok, I have checked the "auto manage paging file size for all drives". Restarting my PC after posting this.
I have been thinking about getting a new SSD for a while since this one only has 100GB and only holds Windows. Plus I have been told a few times that 20GB free is not enough. So definitely on my to-do list in the coming months. (not possible atm for work/organisation reasons)

I had no idea this was going on since December 2022! I have only noticed issues with games since last month. Thank you for that. And yes all of these entries you have listed are indeed video games.
The only common thing between them that I can think of is that they all run from Steam which is a platform (launcher) where you buy and store video games to play online or offline. Other than that, all these games are installed on my H: drive. They are not similar games and some of them require very little graphical requirements. So I am not sure what else they could have in common.

Concerning your later edit:
No not all these games are graphic intensive. I checked again just now and to my knowledge, they are. I will download DDU and let you know.
I am happy to try the Driver Verifier if it helps.
Here is the Speccy link.
Msinfo file has been added to the google drive. (in "PC specs / PSU" folder)
 
Last edited:
Jul 12, 2023
13
0
10
Fair enough, I'm just trying to gather more information to try and help, but it's your call.
Apologies for late reply, had some stuff going on irl. All requested information should be in the drive. Let me know if it's all good or if I have forgotten anything.