Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sometimes a computation takes a long time. But when I sleep in the night, I want to shutdown my PC. Next morning when I wake, I want to start Mathematica and resume the computation.

If you are familiar with the virtual machine VMWare, what I am looking for is a feature like VMWare's suspend/resume.

Does Mathematica have such a feature?

share|improve this question
Why not let the machine sleep rather than shutting it down (not entirely sure if this will always agree with running computations, though...)? You can save the kernel state with DumpSave (several Q&As on that around here). – Yves Klett May 30 '14 at 10:48
The Windows 'hybernate' option does the job. – Sjoerd C. de Vries May 30 '14 at 10:49
@SjoerdC.deVries have you tried that with a running calculation (I just use sleep on Windows)? – Yves Klett May 30 '14 at 11:04
@YvesKlett I have done so in the past and it seemed to work flawlessly. Can't try it right now. – Sjoerd C. de Vries May 30 '14 at 12:13
It does not have such a feature. You either need to build resumability into your calculation manually (not always possible, but I have done this several times when it was convenient), or suspend it at the OS level as Yves and Sjoerd suggest. (Hibernate worked for me too.) – Szabolcs May 30 '14 at 14:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.