W
W
wally2022-02-02 11:25:05
Windows
wally, 2022-02-02 11:25:05

How does Windows hibernation work "under the hood"?

Curious about how Windows sleep mode works under the hood? When I put my computer to sleep, is the data of running applications stored in RAM, or somewhere on disk? Interested in where the snapshot of the running OS and processes goes when it goes into sleep mode. Do they remain in RAM, or are they dumped somewhere on the disk? Or does it work differently. Explain, please

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Hemul GM, 2022-02-02
@Yum1

Sleep mode does not turn off the computer. Power must go to it, or there will be "not a correct termination."
"Running application data" is always in RAM, can only be partially uploaded to the swap file.
What you're talking about is called hibernation. In this case, the OS saves the RAM state to a file on disk (C:\Hiberfil.sys). After that, the computer can be turned off completely. And when you turn it on, RAM is restored from the file.

R
rodionvasin, 2022-02-05
@rodionvasin

In short, this is freezing the state of the current one.
If you want to run offline programs, then you will not succeed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question