So recently I was developing a program that only functions to copy a specified file to another location on the same drive (pretty simple program), but in the midst of debugging it, I got an error from Visual Studio saying
Insufficient Memory Available.
After this message was displayed, any application I tried to open (control panel, CMD, settings app, and even the Nvidia Control Panel) all crashed with the same
0x0000005 Error followed by multiple explorer.exe restarts (taskbar and wallpaper disappear, but load back a few moments later).
I searched the issue online and many sources suggested it could be a lack of available RAM, but I have a pretty beefy system with about 16 gigs available (Windows Memory Diagnostics Tool also reported no errors with any of the DIMM modules), so any idea if my application is actually the root of all this chaos?
Just a side note: The application calls the
SetWindowCompositionAttribute() function to display an Acrylic-Style background (ACCENT_ENABLE_ACRYLICBLURBEHIND) in the WPF application (Which looks pretty neat) but whenever the window is moved around its very delayed, not laggy but just delayed (I think this may have something to do with the memory issue but I could be wrong)