New
#1
Pagefile on D: partition being deleted after reboot
There's not much free space on system (C:) partition in my laptop NVMe SSD, thus I set pagefile to only 1GB so Windows can still generate crash dumps, and 3GB on another partition (D:) in the same drive. However, the pagefile on this partition keeps being deleted after a reboot, no matter whether it's set to system managed or custom size.
Pagefile.sys is created at D: after setting up virtual memory, however it's gone after a reboot. I check Registry and the correspondent key is modified after setting and is not deleted after reboot, as expected, but I don't understand why Windows is still nuking the pagefile on this separate partition after a reboot.
I'm not much worried about performance because pagefile is essentially only accessed when using a hypervisor to run VMs along with a few browser tabs, I just want to prevent applications from crashing due to lack of memory. E: partition is an HDD, so it's not the ideal place to host a pagefile.
Here's relevant info:
OS: Windows 10 Home Single Language version 22H2 build 19045.3031
RAM: 16GB DDR4-3200