What precautions should I take once defective RAM has been replaced?

2

I recently discovered that my RAM is faulty (MemTest86+). I am waiting for new RAM to be sent to me.  It was through sheer luck that I discovered something was wrong. I was copying a large amount of big files and decided to verify the copies by their checksums. I discovered strange discrepancies, and noticed that checksum computation for the same file was not consistent. Now, this is the only problem I have encountered; no BSOD, no crashes, no errors. In a sense this makes me more worried than if I would have had massive crashes. I have no idea for how long the RAM has been faulty, and I have no idea if corrupt bits have been saved into files on my hard drives. I do know the RAM was fine two months ago (tested it back then). I am a user of Adobe's Lightroom and I am worried that photos or the catalog itself could carry corrupt data.

Question: what should I do once new healthy RAM has been installed? Reinstall Windows (I'm using Windows 7, 64 bit)? Is there a risk that I will be presented with nasty surprises in the future if I don't? What about personal files? I have backups of some of the files but for newer files I'm not sure I can even trust the backups. It's going to take me many hard hours to manually replace files with older versions, or compare checksums.

DustByte

Posted 2012-12-13T22:49:20.423

Reputation: 654

Answers

2

Indeed, your concern is quite valid, but don't worry too much - what's done is done. Once the RAM is replaced and good again, the computer carries on; replacing the RAM is the only precaution you need to take. What you do with your data files, however, is an entirely different matter.

Question: what should I do once new healthy RAM has been installed? Reinstall Windows (I'm using Windows 7, 64 bit)? Is there a risk that I will be presented with nasty surprises in the future if I don't?

So long as the operating system is still functioning correctly and not crashing, it's unlikely that anything on the disk was corrupted. Due to how you found the bug, it's possible (ASLR really makes these types of thing much more apparent) that you only encountered it when using that part of the memory, and furthermore, Windows never modifies important system files during normal operation (i.e. not installing updates to the OS).

I don't think you need to reinstall your OS, but I would avoid using the computer until your new RAM arrives.

What about personal files? I have backups of some of the files but for newer files I'm not sure I can even trust the backups. It's going to take me many hard hours to manually replace files with older versions, or compare checksums.

Really, the only files that could be corrupted are those that were being edited in memory, and then entirely written back to disk. If you changed the files, checksums won't do you any good as you don't know if the files are good nor bad - and yes, you would have to manually check in these cases.

Remember though, the files won't just be corrupted by themselves - you will have to have edited the file, and re-written it. Fortunately, photographs that are corrupted by a bit or two are usually recovered pretty easily, and even if visual artifacts did persist, you can touch them up manually. The hard part is going to be determining if a file was corrupted, and what to replace it with - and that's a question only you can answer.

Breakthrough

Posted 2012-12-13T22:49:20.423

Reputation: 32 927

Thanks for the encouraging answer. I am not touching the computer until new RAM has arrived. I think, as you say, that I will carry on as normal. I will probably spend a bit of time doing tedious detective work with my personal files. Many of my newer photos are still on an SD card, so I do have the "originals". It will be a tough job to go through though. Questions: I assume that moving files don't involve rewriting, and a simple file copy has "built in" error checking, so I would imagine that a false positive (incorrectly written file reported correctly written) is small? – DustByte – 2012-12-13T23:25:42.950

Seems to me like faulty RAM could cause both the operating system as well as applications to mess-up files other than what you might expect, like the ones you explicitly edited. For example the OS could update the wrong sectors on the disk that weren't even part of the file it thought it was writing to. – martineau – 2012-12-14T00:30:00.157