First of all sorry for the lengthy post, there will be no TLDR as this post is more aimed at the developers but also serves as a warning to users, so I included more details and the whole scenario for purposes of recreating the problem.
Specs: i7 6700k, RTX 2060, 16GB RAM, Focusrite Scarlett, Soldano SLO 100 X
I was practicing with the Soldano SLO 100 X plugin. Decided I had enough practice for today, I unplugged my guitar and my Scarlett USB C (I always keep the USB B in the PC for convenience) but I forgot to close the actual plugin because I was distracted with the "How to dial in the Soldano SLO 100X video from NeuralDSP ) so it was running in the background. After 5 minutes my PC freezes, icons start dissapearing, random windows start opening and closing, MS Edge crashes, so I start thinking my RAM is dying. A small window with the reddit icon shows up in the left corner and then I start thinking it’s a virus. I immediately shut down my PC with the physical button.
I know quite alot about computers so I open event viewer when I boot my PC and start looking for errors. Low and behold I see a “Out of virtual memory” error, so I instantly assume the paging file was full and Windows ran out of memory.
I start looking for the culprit. Turns out “Soldano SLO 100X” used 59373309952 bytes or 59 GB of memory, yes that’s not a typo. This obviously caused Windows apps and drivers to crash because the RAM and the paging file were fully used.
My assumption: When the Scarlett is unplugged and I switch to my HyperX heapdhones plugged directly into my PC, the plugin switches over to using Windows Audio drivers and it causes memory issues, since the plugin is probably not designed to run optimally with Windows Audio drivers but rather for ASIO, this causes a memory leak or some sudden spike in memory usage.
The reason I think this is a major issue despite being sort of specific to the scenario, is that luckily I know how to use the tools that Windows provides to debug these kind of issues, if I didn’t know, I likely would have assumed your program is a virus or that my PC is broken and would have bought a new one for no reason. I hope some sort of detection is implemented that prevents this before it happens or a bug is fixed.