The software my company develops continues normally after Windows sleeps. However, when using suspend our software crashes. Can someone explain the difference between Sleep and Suspend and/or provide any insight as to why suspend causes our software to crash?
Sleep causes the VM to pause (memory is still loaded, only processor stops processing instructions and queue is stopped). Suspend causes all hardware state and memory to be dumped to the drive. You can close the vm, etc, when this happens, since it's "state" is now on the harddrive. If your software is having issues, my guess would be your software is using direct memory interrupts (bad c or assembly programming) or you are using some specialized hardware drivers that do not restore properly.
Thank you Aleksey. We have found that the problem is intermittent. We'll take your information into consideration.