Recover application after it becomes unresponsive
This also depends on why it's freezing too. I'm purely speaking from a Mac perspective here, but when something like that happens regularly I tend to delve into the logs to see what's up.

(Usually it's XPC up to its usual)..

If you're not a Mac user, without Windows infant of me, I can't give you exact steps, but here it goes for both to see what's up!

Mac:


Press ⌘+Space to get Spotlight up
Type in console (press Enter)


That is the log "viewer" as such for Mac.

On Windows, off the top of my head and should apply from Windows XP onwards!


Click on the Start button
Click on "Run"
In Run dialog box, type in eventvwr.msc and press Enter.


That's the Windows logging system.

If you're on Linux, then I suggest you watch /var/log/messages.log to see what's happening there.

Anyway, have a look into what's showing up in the log when it decides to crash and let us know!