Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: pagefile.sys disappears after receiving Virtual Memory Warning

08 Dec 2016   #1

Win 7 X64
pagefile.sys disappears after receiving Virtual Memory Warning

My system is a Win 7 X64, with 8 gig of Ram.

Something's been happening recently that seems odd, and I don't see any other reference to it searching the Internet.

I do run quite a few memory hogging programs at the same time, and have two manually sized pagefiles:

1) 1 Gig on the C: Drive

2) 5 Gig on the D: Drive.

Both are on the same physical SSD.

So when I get the The Windows Resource Exhaustion Detector notification that the computer is low on virtual memory, I usually close one of the active programs.

I'm slowly increasing the size of the pagefile on D: to see if I can eliminate the problem altogether.

What seems odd, is the D: pagefile is often DELETED on it's own. So I have to go back in and recreate it. The computer does not crash , and I don't seem to lose any data.

Has anyone else seen this, where the file just gets wiped during the session?

My System SpecsSystem Spec
09 Dec 2016   #2

Windows 7 HP 64

If you also have a HDD, disable virtual memory on C: (SSD) and enable it on it (HDD). Make Max and Min equal and set to 16G.
That is: Put virtual memory in one drive only and set Max and min = 2 times your memory
My System SpecsSystem Spec
09 Dec 2016   #3

Win 7 X64

I'm trying that now, but still had another 7 gig pagefile just vanish .

Surprised no one else has chimed in with an explanation of why.
My System SpecsSystem Spec

13 Dec 2016   #4

Win 7 X64

So far a 16gig swap on another drive seems to have cured the out of memory error.

Still strange the pagefile would actually DELETE itself ,and I don't see any other reference to that on the internet.
My System SpecsSystem Spec
16 Dec 2016   #5

Windows 7 x64


It is better for Windows OS to decide on the size of the pagefile.

As you manually make the decision, and using "run quite a few memory hogging programs at the same time"
then maybe you could read the info in this link;

Learn Best Practices for Optimizing the Virtual Memory Configuration

Sometime it is better to understand more on such matter instead of following own decision, which may be wrong.

That is to say, do a bit of research for better understand before making a fatal mistake.
My System SpecsSystem Spec
20 Dec 2016   #6

Win 7 X64

Thanks for the advice, though in my case , after near 40 years of computing, I'm probably safe

Ran this install for 5 years with a modest pagefile size, but something, possibly a program demanding a large amount of reserve memory, caused this problem.

There's nothing wrong with setting the pagefile to a single size and not letting windows grow and shrink it. Unlikely anything fatal would happen in any case.

So setting mine to a generous 16 gig (+ 1 gig on the C drive) seems to have stopped all memory problems.

You'd think a problem that actually caused the pagefile to DELETE itself would crash the system , but it never did.
My System SpecsSystem Spec
21 Dec 2016   #7
Layback Bear

Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64

Many of us for years tinkered with memory to get things to work better.
Sense Vista and later. Windows 7, 8 and 10, tinkering with ram is no longer needed.

I let Windows 7 manage all my ram including pagefile.
I tried doing all kinds of things with memory and pagefile in Windows 7 and found that it did not help in any fashion. Many things I tried made things worse.

The old ways of tinkering with pagefile like we did with XP is not valid in Windows 7.
I took off my XP hat and hung it in a place of respect and put on my Windows 7 hat and things work just great allowing Windows 7 to manage the memory.

Just my opinion and thoughts.

My System SpecsSystem Spec

 pagefile.sys disappears after receiving Virtual Memory Warning

Thread Tools

Similar help and support threads
Thread Forum
Receiving Open File Security Warning on Admin '.msc' Console Files?!
Aloha Forum! This just started happening during a custom install of this HP EliteDesk 800G1 Twr. Reached a point where no matter what I install it gives that warning on it's own admin mmc console files! System is: i7, 16GB ram, W7 Pro 32 bit, SSD 500GB, Toshiba 500GB... Otherwise solid...
General Discussion
Question about Changing Virtual Memory/PageFile Size in Windows 7
Please help me understand this, I have a videoediting software that I am runing on 32 bit win7 with 4 Gb RAM, the company that makes the software suggests to set the Virtual Memory/PageFile Size to double the RAM amount. I looked and mine is set to auto, I have many drives and all say none...
Performance & Maintenance
Low Virtual Memory Warning, then PC Crashes
The PC has just had the motherboard replaced by Dell, and the System had just been restored. The message still keeps on coming up on a PC, this happen to two different machines which are not resolved. I changed the page file setting to automatically, I done the same for this PC, but the error...
BSOD Help and Support
Problem clearing virtual memory pagefile
I'm using Windows 7 64 bit and I'm having a problem disabling the option to clear virtual memory pagefile at shutdown since it makes shutdown takes 5+ minutes. Each time I disable it and restart my computer it enables itself again or maybe some software keeps enabling it. I tried disabling it using...
Performance & Maintenance
Virtual memory - Pagefile problem: no drives in list!
Hi all, I'm here to ask help for this problem: As you can see the drives list is blank, and I cannot change the location and size of pagefile! Does anyone have the same problem or have some tips to solve this? Thank you very much in...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:52.
Twitter Facebook Google+