If you start running low on RAM or memory, you should save and then exit the program that's causing the memory leak. It's better than going until your computer panics and closes the program and you lose all the progress you've made.
So if it's a memory leak, it should be monitored so you know when to save and quit. That way, you won't lose your progress but it doesn't fix the problem. It's caused by scripts in RPG Maker MV and the addons not cleaning up after themselves and constantly calling for this and that which continuously loads the same script over and over from the hard drive to the RAM.