Virtualized Mac OS X Freezes

Mac OS X Snow LeopardI am running a virtualized Mac OS X machine in my VMWare Workstation but I noticed that after a period of inactivity the virtual machine would sometimes freeze.

Because this only happens after inactivity I assumed it had something to do with Power Saving so I changed the Energy Saver settings and that fixed it!

Go to System Preferences:

System Preferences

Click Energy Saver:

Energy Settings

Set Computer sleep to Never:

System Preferences | Enery Saver | Computer Sleep | Never