Thread: Memory question

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    119

    Memory question

    This may be a bit of a strange question but here it goes. My girlfriend called me saying her nephew was playing around with my computer parts we have at home. He used magnets on my computer memory (RAM). I won't be able to get back for a day or two to check if it's fine, but does that mean it's finished? You always see in movies and hear about people using big magnets on hard drives to ruin them and wipe them out. If anyone could let me know if that ruins the memory or not that would be great. If it does, what exactly happens during contact between the magnet and the memory that causes it? Thanks guys.

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    I suspect it will be fine. A hard drive could lose its low level formatting, but I suspect you could even get that back too.
    Mainframe assembler programmer by trade. C coder when I can.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    It's more a problem with floppies, like 3 1/2 disks or 5 1/4 disks. You might not have any of those around.

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I've never been able to erase anything including the old 5.25 floppies with magnets. Even if the magnets affected your RAM it won't do anything since the RAM is volatile in the first place.

  5. #5
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Data in RAM is only expected to be stored in there for as long as the power is on. That is why we have hardrives and other medium for long-term storage.

  6. #6
    Registered User
    Join Date
    Sep 2007
    Posts
    119
    That's good to know, thanks a lot. So ppl mentioned it not really even working with hard drives. I guess that's always been kind of an "computer myth" when it comes to destroying data. So you'd pretty much just need good software to get rid of data forever? I mean the things those computer forensics guys can do is pretty amazing now a days. I mean aside from formatting it dozens of times (which probably still wouldn't even work), you'd pretty much have to completely destroy it to avoid reading data from it?

    Let's say I formatted my drive 50 times, wrote a program to write random data to fill up my hard drive. Than repeated the process of formatting it dozens of times. Would the only data that's able to be retrieved the data written to disk the second time, or is the original data still accessable?

    I've never really though about this stuff before...

  7. #7
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    It's possible. Today's technology is incredible at recovering data.
    The safest way is to destroy it, absolutely.
    But I'm also guessing you can break it up, then take a large magnet and hover it over the magnetic plates forth and back for some time is going to have severe impact on the data stored.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  8. #8
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    I'm no CSI man. But I've heard the I/O heads can come out of line over time (by a few thousand atoms), and parts of data is left on the disk. Or something along those lines.

    I'd say the best way is to buy a smelter

  9. #9
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    no, the heads dont lose alignment in modern drives, what happens is the magnetic domain permeates into the subsurface region leaving a latent magnetic moment. sophisticated hardware can read this latent magnetism (destructively). Thats why the only real way to destroy your data is to write over it with random data multiple times. Generally 7 times is considered suffciient even for the NSA. This pushes the latent MM so far into the substructure that it is likely to lose coherency with neghboring fields, making it essentially useless random data.

    Actually, some of this can take place in the inter-track regions as well, since the tracks are spaced far enough apart so the fields dont interfere with each other.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. heap vs stack memory question
    By donglee in forum C++ Programming
    Replies: 4
    Last Post: 01-23-2009, 04:34 PM
  2. Pointer memory question
    By Edo in forum C++ Programming
    Replies: 5
    Last Post: 01-21-2009, 03:36 AM
  3. Another Dynamic Memory Question
    By SirCrono6 in forum C++ Programming
    Replies: 6
    Last Post: 03-02-2005, 12:10 PM
  4. Is it necessary to write a specific memory manager ?
    By Morglum in forum Game Programming
    Replies: 18
    Last Post: 07-01-2002, 01:41 PM
  5. I have a Question about memory usage for C.
    By bobthefish3 in forum C Programming
    Replies: 34
    Last Post: 12-24-2001, 04:37 PM