I'm currently developping a video game, and sometimes, when something goes wrong, like an infinite loop or something like that, the memory usage skyrockets endlessly. When that happens, (I assume that) Windows dumps the excess memory usage to the disk. Previously I had an old mechanical drive, so whenver this would happen, my computer would get really slow and I would notice it. Now that I have replaced it with a good SSD, I don't immediately notice it anymore, causing large amounts of data to be written to the disk and thus killing its life expectancy very quickly. So my question is : is there a way to prevent Windows from dumping excess RAM usage to the disk, or at least limit it's volume or speed ? Thank you !