I have recently switched from Windows 10 to Windows 11 and have started experiencing memory errors while using various applications including as Chrome, audio applications, Firefox, etc.
I would like help troubleshooting these errors (apps/services/tasks/etc. and other possible causes).
Like many other users, using a paging file is currently not an option in my use case. I have the paging file disabled (in virtual memory settings) for various reasons, mainly the data security risks that come with having it enabled. These security risks are explained partly in the links below, and are briefly summarized as follows:
When using an encryption solution (native, eg EFS, or non-native eg. Veracrypt), normally encrypted data including unhashed passwords and other sensitive data can potentially be written to the paging file in unencrypted form. This paging file can then potentially be accessed by a malicious party and this information extracted.
- Windows pagefile security risks and how to avoid them
- Truecrypt: Paging File
- MSC18-C. Be careful while handling sensitive data, such as passwords, in program code
Symptoms I am now experiencing are the following:
- Popups from applications of the type "Out of memory"; "The paging file is too small for this operation", etc.
- Occasional events in the event viewer, eg:
"Application popup: Windows - Out of Virtual Memory : Your system is low on virtual memory. To ensure that Windows runs properly, increase the size of your virtual memory paging file. For more information, see Help."
Many users, especially those with systems with relatively large amounts of memory, run Windows 8 or later without a paging file without these issues. I have also had the paging file disabled on all previous systems with 8 - 16 GB of RAM, as well as my current W10 system with 16GB, and have had none of these problems previously. It think hardware can also be ruled out in my case, as I am running both the working and faulting systems on the same hardware (different partitions of the same drive on the same PC). Much of the faulting software, although not all, is also the same, as some of the error popups in W11 come from the same portable apps which run fine in W10 and my other previous windows systems with paging disabled.
Available physical memory on my system never falls below 5 GB (out of 16 GB total) when these errors occur:
Note:
- Encrypting the paging file or entire Windows OS system drive is currently not an option in my use case
- I am aware by having the paging file disabled certain crash dumps are not written unless dedicated dump files is enabled.
