Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Yes, I know that hibernate usually applies to a computer. (Hibernate her meaning saving program memory in disk and being able to restore it in a consistent manner.)

However, hibernating a program can be very useful. Suppose I want to play a game, but a few programs like firefox, acrobat take up 500M of memory, so I want to free it up. Closing and then starting can be time-consuming, especially if session data cannot be stored. So instead I go and hibernate them. So is there any way I can hibernate a program?

share|improve this question
    
What OS are you using? –  Ian C. Apr 25 '11 at 5:31
1  
Windows 7, 64-bit. I also retagged the question. –  apoorv020 Apr 25 '11 at 5:32
    
nice improvement for a OS... –  kokbira Apr 25 '11 at 16:10
2  
Related( but no answers) superuser.com/questions/170434/… –  Sathya Apr 25 '11 at 18:17

2 Answers 2

up vote 3 down vote accepted

There's a related question about this over at StackOverflow. It's more programming related, but the main accepted answer explains why what you're trying to do is hard, and offers a viable alternative.

Basically, run your 'business' apps in a VM, and pause/hibernate/close it when you want to game.

share|improve this answer
1  
you said "inviable alternative, did't you? –  kokbira Apr 25 '11 at 17:27

"Hibernating" an app wouldn't be any faster than just closing and restarting it, although your point about session data is valid. In general there wouldn't be much if any advantage.

share|improve this answer
3  
By what logic do you say that hibernating wouldn't be faster? Hibernating and restoring an OS is faster than a reboot. –  apoorv020 Apr 26 '11 at 13:34
    
Think about what hibernating is. It requires copying the program image to hard disk, then copying it back. Closing the program and then restarting it only requires copying it from the hard disk. Windows starts up very slowly, for reasons I don't know. For other OS's, e.g. Linux, hibernating and awakening takes longer than just shutdown and reboot, at least on every system of mine I've tried it on. It's convenient but not fast. –  CarlF Apr 26 '11 at 13:48
    
Well starting some programs is pretty slowtakes alot of time, especially firefox. Not to mention irritating as well. –  apoorv020 Apr 26 '11 at 16:34
1  
Closing the program and then restarting it only requires copying it from the hard disk. You are forgetting to add in the time it takes to get the program back into the state it was in. For example, re-opening a bunch of browser tabs, opening a file in an editor, etc. –  Synetech Dec 17 '12 at 6:28

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.