Suspend causes problems that Sleep does not

Discussion in 'Windows Virtual Machine' started by AVchemE, Jan 29, 2013.

  1. AVchemE

    AVchemE Member

    Messages:
    25
    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?
     
  2. AlekseyM

    AlekseyM Product Expert

    Messages:
    207
    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.
     
  3. AVchemE

    AVchemE Member

    Messages:
    25
    Thank you Aleksey. We have found that the problem is intermittent. We'll take your information into consideration.
     

Share This Page