So this is an interesting scenario. I have 16GB of RAM and found out windows had somehow created a 64GB page file. I thought that was excessive and limited it to 16GB manually.
It all seemed to be working okay. I set my c++ research code to run some tests and started watching a video on chrome. I had like 4 tabs open. My code was using stable 2GB and I had 60-70% RAM usage as normal. Then Chrome crashes (unexpected exception code 0x000008). Both my monitors black out after I click out of the error window. Chrome is crashed, Visual Studio has a 'chrome crashed' error and my code is halted. Furthermore, all the windows that I had in my second monitor black out.
After this my computer was just 100% unstable. One of my monitors switched to the windows basic driver. Entirely bizarre. I reset. Opened even less stuff, and just resumed watching my stuff while the code runs, hoping it would be a one time thing. Fifteen minutes in, another crash. This time the Visual Studio doesn't actually crash, but the execution window became invisible as it was in the second monitor.
I went into the chrome dump just to check what it was... sure enough the first line gives: STACK_TEXT:
00000000`00000000 00000000`00000000 chrome.exe!out_of_memory+0x0
Now... at this point I repeat this entire scenario while staring at my RAM usage. Sure enough, the crash happens when I'm at 50% RAM usage. So it seems Chrome is crashing when I ran out of virtual memory, even when I have more than enough physical memory? Why? And why is it crashing in such a catastrophic way ruining other programs?
Sure enough the crashes stopped as soon as I set my virtual memory back to managed by the operating system, but I am still curious about the entire situation.