Question Windows keeps freezing/suspending apps

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
So I'm having this weird issue lately. At random points my pc's decides to kind of freeze. When i check task manager i notice that the apps im using (browser, discord and sometimes a game im playing) are suddenly suspended.
I checked event viewer and the only error that seems to be there is error 7023:
"
The Windows Error Reporting Service service terminated with the following error:
The paging file is too small for this operation to complete.
"
I suspected there might be a ram issue, but all of my ram passed the memtest86, and i have 16gb so my pc shouldnt be able to use it up.
Also tried running sfc /scannow and DISM.
 

Colif

Win 11 Master
Moderator
go to settings/system/about
in right column choose advanced system settings
under performance, choose settings
on the advanced tab, under virtual memory, click change
Automatically manage paging files for all drives is at top. If this is ticked windows will resize Page file if need be. Its recommended setting. If its unticked, I would tick & click okay and then apply
 

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
go to settings/system/about
in right column choose advanced system settings
under performance, choose settings
on the advanced tab, under virtual memory, click change
Automatically manage paging files for all drives is at top. If this is ticked windows will resize Page file if need be. Its recommended setting. If its unticked, I would tick & click okay and then apply
Oh, yeah thats setting is ticked
 

Colif

Win 11 Master
Moderator
thats odd then that its reporting page file is too small and you have lots of space free.

My ssd has 128gb / 465 gb left,
do you mean its a 500gb SSD but has 128gb free?

windows should only suspend certain apps, not games. Its meant to only suspend programs that come with windows that you run all the time, so they load faster. For instance
GMYEOSm.jpg

Guess if you use Edge it can suspend it since it comes with windows.
Are the games from Microsoft store? they might be able to suspend, I would have to check.
 

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
thats odd then that its reporting page file is too small and you have lots of space free.


do you mean its a 500gb SSD but has 128gb free?

windows should only suspend certain apps, not games. Its meant to only suspend programs that come with windows that you run all the time, so they load faster. For instance
GMYEOSm.jpg

Guess if you use Edge it can suspend it since it comes with windows.
Are the games from Microsoft store? they might be able to suspend, I would have to check.
Yea its a 500gb ssd and 128 free. I usually play rocket league, but im actually not sure if it suspends the app, it crashes at least. But apps like spotify, opera gx (my browser), and discord get suspended.
 

Colif

Win 11 Master
Moderator
Any app that is on the MIcrosoft store can suspend so Discord, Opera GX and Spotify can (Spotify comes with windows)

maybe try some of these - https://answers.microsoft.com/en-us...ntegrity/75529fd4-fac7-4653-893a-dd8cd4b4db00 4 & 7 are recommended in here to fix discord - https://answers.microsoft.com/en-us...d/719cca1f-e450-447d-bff6-0d479f7455dc?auth=1

spotify suspending seems fairly normal

Rocket League not on store. So I don't think it can suspend normal programs. They need to be written a certain way, as UWP I think - https://en.wikipedia.org/wiki/Universal_Windows_Platform as only they can enter suspended state.
 
Last edited:

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
Any app that is on the MIcrosoft store can suspend so Discord, Opera GX and Spotify are (Spotify comes with windows)

maybe try some of these - https://answers.microsoft.com/en-us...ntegrity/75529fd4-fac7-4653-893a-dd8cd4b4db00 4 & 7 are recommended in here to fix discord - https://answers.microsoft.com/en-us...d/719cca1f-e450-447d-bff6-0d479f7455dc?auth=1

spotify suspending seems fairly normal

Rocket League not on store. So I don't think it can suspend normal programs. They need to be written a certain way, as UWP I think - https://en.wikipedia.org/wiki/Universal_Windows_Platform
Hm, i see yea. Ill try the links. Kinda weird that rocket league also crashes tho...
 

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
Sorry for the late reply, but i thought the problem i had been facing was gone. However, today after using my pc for about 3-4 hours my screen suddenly went black and i suspect its the same thing as what was happening before in this thread.
I tried the tools you linked, but got no errors. Any ideas? :)
 

Colif

Win 11 Master
Moderator
The paging file is too small for this operation to complete.
just wondering, maybe the PC is running out of virtual memory and its why it suspends programs even if you have free ram

what are specs of the PC?
next time it freezes, can you look in task manager again, but on the Performance tab. Click on the memory screen and see how much paged and non paged memory is in use
Committed totals would help too.
this page:
h2lo509.jpg


Just wonder if its a memory leak. You can run out of memory and have free ram. Windows counts Virtual memory which is page file, as memory. It can only promise programs so much memory, and what can happen is drivers ask for memory but not give it back when finished, but instead ask for more. Eventually Windows runs out of memory it can give. And crashes.
 

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
just wondering, maybe the PC is running out of virtual memory and its why it suspends programs even if you have free ram

what are specs of the PC?
next time it freezes, can you look in task manager again, but on the Performance tab. Click on the memory screen and see how much paged and non paged memory is in use
Committed totals would help too.
this page:
h2lo509.jpg


Just wonder if its a memory leak. You can run out of memory and have free ram. Windows counts Virtual memory which is page file, as memory. It can only promise programs so much memory, and what can happen is drivers ask for memory but not give it back when finished, but instead ask for more. Eventually Windows runs out of memory it can give. And crashes.

Thanks for the reply :)
I was thinking it was running out of virtual memory too, but i found it hard to believe as i have 6gb of it. I have a 1660 super and 16 gb of RAM, so it shouldnt be an issue in theory., but it seems like it may be.
I can take a screenshot next time this happens and will keep this thread updated.
I appreciate your help :)
 

Colif

Win 11 Master
Moderator
what motherboard do you have?

Often memory leaks caused by ethernet or wifi drivers so you might try updating those.
drivers can keep asking for memory so how much you have doesn't solve it, just delays it
 
Last edited:

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
what motherboard do you have?

Often memory leaks caused by ethernet or wifi drivers so you might try updating those.
drivers can keep asking for memory so how much you have doesn't solve it, just delays it
I have the gigabyte b550m ds3h. Ill try to update the drivers when i get home.
 

Colif

Win 11 Master
Moderator
no WiFi adapter?

PC using Realtek lan drivers.
download Win10 Auto Installation Program (NDIS) from under windows header here - https://www.realtek.com/en/componen...0-1000m-gigabit-ethernet-pci-express-software

You could use Gigabyte App centre but I find it offers me programs I don't want. I have an Aorus X570 Elite.

blindly guessing memory leaks hasn't always worked in past, we might have to look harder.
 

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
no WiFi adapter?

PC using Realtek lan drivers.
download Win10 Auto Installation Program (NDIS) from under windows header here - https://www.realtek.com/en/componen...0-1000m-gigabit-ethernet-pci-express-software

You could use Gigabyte App centre but I find it offers me programs I don't want. I have an Aorus X570 Elite.

blindly guessing memory leaks hasn't always worked in past, we might have to look harder.
Alright so it happened again, this time i just started my pc, had opera and spotify open and tried to start rocket league. Spotify froze and on steam i got the error "The paging file is too small for this operation to complete".
I took a screenshot of task manager after it happened.
View: https://imgur.com/3T5DcqQ
 

Colif

Win 11 Master
Moderator
I wonder why commitment total is 53.9gb. Page file shouldn't be that big?
Commitments total = ram + page file
you only have 16gb of ram so difference has to be page file. So approx 37.9gb page file?
its odd though as max size page file can get to is 4x ram size and you not using 64gb of memory so makes me wonder
i think its a memory leak, your page file should only be 16gb

try running antivirus programs? see if its a virus using it?
try running this and see if it finds anything - https://www.hitmanpro.com/en-us

It looks like we need to use poolmon
have a look at this, the link in description shows a link to Windows driver kit which you need to install to get Poolmon
the command at top is used to find the tag of the problem on your PC.

You might want to turn this off, it might mean you run out of memory slower if PC is actually off when you shut it down - https://www.tenforums.com/tutorials/4189-turn-off-fast-startup-windows-10-a.html

if you use hibernate or sleep, turn it off occasionally to refresh ram.

What you should do is run it at boot after a restart operation with nothing running, just to get a baseline and an idea of what tags might always have lots of memory. There are parts of windows that manage the memory so they will always have lots.

You are looking for the biggest difference between Allocs and frees, as these are the processes with the most memory, and may not be giving it back.
these are the most common tags - https://github.com/zodiacon/PoolMonXv2/blob/master/PoolMonX/res/pooltag.txt
Its likely you only want to look at Paged pool as this is all the memory that can be put on the page file. Non paged pool is in ram.
keep it running in background so when this occurs you can check the differences.

If you want my help, just show some screenshots.
 
Last edited:

Chill__Cosby

Commendable
May 7, 2020
22
0
1,510
I wonder why commitment total is 53.9gb. Page file shouldn't be that big?
Commitments total = ram + page file
you only have 16gb of ram so difference has to be page file. So approx 37.9gb page file?
its odd though as max size page file can get to is 4x ram size and you not using 64gb of memory so makes me wonder
i think its a memory leak, your page file should only be 16gb

try running antivirus programs? see if its a virus using it?
try running this and see if it finds anything - https://www.hitmanpro.com/en-us

It looks like we need to use poolmon
have a look at this, the link in description shows a link to Windows driver kit which you need to install to get Poolmon
the command at top is used to find the tag of the problem on your PC.

You might want to turn this off, it might mean you run out of memory slower if PC is actually off when you shut it down - https://www.tenforums.com/tutorials/4189-turn-off-fast-startup-windows-10-a.html

if you use hibernate or sleep, turn it off occasionally to refresh ram.

What you should do is run it at boot after a restart operation with nothing running, just to get a baseline and an idea of what tags might always have lots of memory. There are parts of windows that manage the memory so they will always have lots.

You are looking for the biggest difference between Allocs and frees, as these are the processes with the most memory, and may not be giving it back.
these are the most common tags - https://github.com/zodiacon/PoolMonXv2/blob/master/PoolMonX/res/pooltag.txt
Its likely you only want to look at Paged pool as this is all the memory that can be put on the page file. Non paged pool is in ram.
keep it running in background so when this occurs you can check the differences.

If you want my help, just show some screenshots.
View: https://imgur.com/a/7iCtIBB

Alright so these are my pagefile settings, anything i have to change?
View: https://imgur.com/a/7iCtIBB


Also regarding the video, i followed the guide, and "?DCA" was the biggest thing there. I ran the other command in cmd, but nothing came up so im not sure what to do. I also tried doing that with a couple of other ones, but nothing came up again when i ran the command in cmd.