If you are tabbing in and out or have a lot of stuff going on in the background, or just running a lower memory computer, that could be the cause. This is an issue with RPG Maker in general, I'm afraid... it can end up freezing if it's put in the background or otherwise clicked out of or just has a lapse in memory.