53

I always hibernate my laptop. One of my friends said that hibernating the computer will cause damage to the RAM. From his point of view he said that suspended RAM data stored on the hard disk will burst into the RAM when the system is turned on and decrease the efficiency & lifetime of the RAM by creating black spots.

Is that true? Are there any other disadvantages to hibernating the computer?

RavenM
  • 109

5 Answers5

101

Hibernation will not damage your computer's RAM. In fact, your computer's RAM must continuously rewrite itself during operation to maintain its stored data.

  • When you place your computer into hibernation, any RAM in use is compressed and stored onto disk. When you turn your computer back on, the compressed RAM image is loaded and normal operation is resumed.

  • As with most devices requiring a non-trivial amount of working memory, the type of memory your PC uses is called dynamic RAM (DRAM). DRAM must be continuously refreshed to maintain its contents, and this refreshing is nothing more than rewriting the stored data. Your computer does this up to 16 times a second (every 64 ms). As such, hibernation does not unduly stress the RAM and will not damage it in any way.

  • Your friend may be confusing this with the fact that hibernation involves writing a potentially large amount of data to disk. If the system uses an SSD as a boot disk, frequent hibernation (more than a few times a day), especially if many programs are running, can reduce the lifespan of the SSD, as flash memory does have limited write endurance. In normal usage, this is not a concern as modern SSDs are designed to handle tens of gigabytes of writes per day over five years or more. (Do note that the memory image is compressed as it is written to disk, which itself reduces the total amount of writing.)

bwDraco
  • 46,683
16

As a matter of fact, your RAM must be discharged from every bit of data at the moment that hibernation takes place. This just empties it the same way as cutting off any energy source.

At wake up, the process is reversed as the RAM will be filled with "on disk" data.

This behavior is just as "soft" as your daily use of RAM when you launch and stop your applications, playing games, editing photos, etc.

If it was not the purpose of RAM to accept such rapid charging and discharging data, then it would not have been created the way that it was.

Continue with your habits or invest in a SSD to speed up your boot times and perhaps prefer to "shutdown" instead of "hibernate" your computer.

Cfinley
  • 1,435
ChtiSeb
  • 169
8

Your friend has great imagination. But to say that writing data from HDD to RAM can burst your RAM is like saying that driving a Ferrari at 40 miles per hour can damage the engine. It can't because RAM is much faster.

Ben Richards
  • 12,917
4

No, it doesn't damage the RAM. The RAM is rewriting itself during normal operation.

Hibernation does however use the hard disk (defined as writing RAM contents to disk and shutting down the system).

Andrw
  • 183
0

One thing that the other answers have omitted is that, in modern operating systems, the entire hibernated contents of the RAM are not written back right away upon awakening. Enough is written back to make the computer usable, and the rest is used like a virtual memory cache, with the memory manager deciding what does and doesn't need to be written back to memory--the same way it works when you are just using computer normally.

Windows 8 even takes this further, in that it separates out two different parts of memory and hibernates them into different files. Only the part needed to have the computer running at all is in the hibernation file. The rest is written directly to the page file. In fact, the fast "startup mode" of Windows 8 is actually just resuming from hibernation using the hibernation file, but not using the page file. Hence, your friend is likely using hibernation all the time without knowing it.

The main benefit in not hibernating is just that you start out with a clean slate. (Or cleaner state in the case of Windows 8's fast start up mode). Memory does get corrupted over time. But you deal with the same issue just from leaving your computer on all the time.

The best solution is just to occasionally restart your computer. If you have Windows updates turned on (and you should) you probably do that anyways.

trlkly
  • 1,776