Solved shutdown means deleting memory in RAM?

kingston896

New member
Member
Local time
5:59 PM
Messages
49
shutdown means deleting memory in RAM? I am learning mechanism behind shutdown in windows only.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7
Please explain what you are asking. RAM is only temporary by design. No data is stored permanently in ram.
 

My Computers My Computers

System One System Two

Yes. That is why you should Save changes to your documents before shutting down.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Yes. That is why you should Save changes to your documents before shutting down.

If RAM is temporary memory storage, so what's use of it?
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7
If RAM is temporary memory storage, so what's use of it?


RAM is the working space for your programs and data you are working on. The code of all the software you are running, including Windows itself, is read into RAM in order to run it. Copies of your documents, photos, etc. are held in RAM while you edit them.

When you save a document it is written from the RAM onto the hard drive for permanent storage. The contents of RAM are lost when the power is turned off.
 

My Computers My Computers

System One System Two

  • Computer type
    Laptop
    Computer Manufacturer/Model Number
    Toshiba satellite C650D
    OS
    Windows 7 Home Premium x64
    CPU
    AMD V120
    Memory
    4GB
    Internet Speed
    150 Mbps
    Antivirus
    MSE
    Browser
    IE11, Edge, Firefox
    Other Info
    I also have W7 Pro on my System Two, and several W7 Hyper-V VMs. My other machines run Windows 10/11. Their specs are in my Ten Forums & Eleven Forum profiles.
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Lenovo Thinkpad T430
    OS
    Windows 7 Pro x64
    CPU
    Intel i5-3320M
    Memory
    8 GB
    Hard Drives
    250GB Samsung SSD 860 EVO
    Antivirus
    MSE
Thank you
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7
Ram is far faster than hard drives (even solid state drives). Having certain programs (including portions of the OS) preloaded in Ram decreases access time and therefore efficiency compared to loading them directly from the hard drive when needed. In an active environment programs are rarely written to directly although the programs may write data to the hard drive. Some programs though are called constantly, especially operating system programs so loading them in memory rather than from the hard drive when needed keeps the end user happily computing without much delay. I don't know how far back your experience with computers goes but before ram a user spent most of their time waiting for programs to load, then they make a change, wait for the program to compile, and then wait for the changes to save. Having programs (especially the OS) loaded ahead of time save time and money. This isn't just windows but all OS's currently and not just computers but smart phones, gaming consoles, and smart tv's. Ram is incredibly important otherwise you'd be spending most of your time at a computer waiting on files and programs to load from the hard drive and then be written to over and over again. It's the same thing with websites that you pull up remotely located on a server. You might want to google it and read some articles. You might want to start with this one: https://www.digitaltrends.com/computing/what-is-ram/
 
Last edited:

My Computers My Computers

System One System Two

shutdown means deleting memory in RAM? I am learning mechanism behind shutdown in windows only.


Yes, RAM is for the use of the cpu which only works when the computer is ON. Just like the cpu, RAM requires power from the PSU.



There is a tweak that loads the Registry into RAM on boot-up, which greatly speeds up the operation of the computer and running programs. I've been using that for years!
But when I shut down my PC, all that is GONE.
Sorry, but that's just another "Fact of Life".



Cheers mate!
TM :cool:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Various
OS
Win 7 Pro, SP1, x86, Win-11/Pro/64
CPU
AMD
Motherboard
Various
Memory
8GB Crucial
Graphics Card(s)
Various
Sound Card
OnBoard
Monitor(s) Displays
Acer 21.5"
Hard Drives
Crucial SSD, 500 GB
PSU
OEM
Case
SFF Slim Line Case
Cooling
OEM
Keyboard
eMachines
Mouse
Logitech Wireless
Internet Speed
varies
Antivirus
Windows Defender/Super Anti-Spyware
Browser
Firefox
Be advised that when you shut down a computer RAM is typically wiped, but not in all cases. I know this from my reading about security with Truecrypt or Veracrypt full disk encryption. The encryption key is held in RAM while you are on the computer and ideally it will be wiped on computer shut down, but studies have shown that some computer setups still hold some memory after a power down.

So the blanket statement of RAM being wiped on computer shutdown may not be true in all cases. I'm not sure if it's the type of RAM or a RAM/motherboard combination that does it. It could very well happen more often with laptops.

There may be a way to see if RAM is wiped on computer shutdown, but I don't know how yet. I haven't researched it at all. Something I've been meaning to do since I do use FDE on every computer I have running here. There may also be a program that can wipe RAM prior to computer shut down, but I'm sure there still may be some data in RAM after shut down for certain computers based on the OS's shut down procedure.


They do sell RAM drive PCI cards that hold RAM sticks that you can use as an external hard drive that's extremely fast as all hell. Probably would be faster than a gigabit fiber backbone from an ISP. But the only use for such a thing is for a high hard drive demanding applications. With today's SSDs and NVMe drives, it's not really needed much, but it could be a killer small website drive using XAMPP for a local web page of WordPress, phpBB or a Wiki software install. I mention this RAM hard drive because the memory is in fact volatile (meaning not capable of holding data on power off) and these RAM drives have a battery. Once that battery is dying, dead or removed, all data is wiped.

Fun fact # 457

SSDs, while they can hold data for long periods of time, will eventually need power due to a slow bit degradation in the memory chips. This may be a months or years long process, but it happens. So if you chose to use a SSD for a very long term clone or backup, you should apply power to it every once in a great while. Like every 6 months or so. I've read some SSDs have internal batteries, but I've never ran across one I've ever bought. All the SSDs I bought which were Adata, Kingston and Crucial were just a metal box with a board inside holding several memory chips. Drill holes in each memory chip and that data is gone to infinity and beyond. Way more secure than a PATA when it comes to data wiping using this method. You can burn, beat, or drill holes in a platter HDD and you can STILL recover data off of it. The FBI has methods of doing just that. Believe me.


Anyway...


Volatile | Definition of Volatile at Dictionary.com

Nonvolatile | Definition of Nonvolatile at Dictionary.com

Might be hard to remember as to non-fiction and fiction.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Yes, RAM is for the use of the cpu which only works when the computer is ON. Just like the cpu, RAM requires power from the PSU.



There is a tweak that loads the Registry into RAM on boot-up, which greatly speeds up the operation of the computer and running programs. I've been using that for years!
But when I shut down my PC, all that is GONE.
Sorry, but that's just another "Fact of Life".



Cheers mate!
TM :cool:

My Crucial SSD's software has a momentum cache feature much like this. It uses RAM like some sort of massive page file. I ran a hard drive speed test with it on and I had Gigabyte HDD speeds. LOL I do use a UPS so I won't lose data during a sudden power outage. Which is what the Crucial Executive software tells you to use if you decide to turn on momentum cache.
 

My Computer My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Very often modern technology cannot produce everything we want. We must make the best of what is available.

As an ideal there would only be one kind of data storage. It would be byte addressable and as fast as RAM. It would also be as inexpensive as disk storage and maintain it's contents when power is removed. At the present time technology cannot produce such a device. Research is being done but it is unclear what form the technology would take or when it will be available.

But modern applications need data storage that can change values millions of times per second. RAM, with the help of the CPU, can do that. But even the latest SSDs cannot even approach that level of performance. But when RAM looses power it can no longer maintain data storage. But it is much cheaper than RAM per byte of storage.

Computer systems need both RAM and disk storage. In the early days of computers applications had to manage both forms of storage themselves. But since the 1960's software systems have been developed that blurs the distinction between RAM and disk storage. In many cases the application has no idea where it's data is. The operating manages all of this. Even the principles of this are complex and the details even more so. Operating systems like Windows, Linux and the Mac have developed this to a very high level.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Be advised that when you shut down a computer RAM is typically wiped, but not in all cases. I know this from my reading about security with Truecrypt or Veracrypt full disk encryption. The encryption key is held in RAM while you are on the computer and ideally it will be wiped on computer shut down, but studies have shown that some computer setups still hold some memory after a power down.

So the blanket statement of RAM being wiped on computer shutdown may not be true in all cases. I'm not sure if it's the type of RAM or a RAM/motherboard combination that does it. It could very well happen more often with laptops.

There may be a way to see if RAM is wiped on computer shutdown, but I don't know how yet. I haven't researched it at all. Something I've been meaning to do since I do use FDE on every computer I have running here. There may also be a program that can wipe RAM prior to computer shut down, but I'm sure there still may be some data in RAM after shut down for certain computers based on the OS's shut down procedure.


They do sell RAM drive PCI cards that hold RAM sticks that you can use as an external hard drive that's extremely fast as all hell. Probably would be faster than a gigabit fiber backbone from an ISP. But the only use for such a thing is for a high hard drive demanding applications. With today's SSDs and NVMe drives, it's not really needed much, but it could be a killer small website drive using XAMPP for a local web page of WordPress, phpBB or a Wiki software install. I mention this RAM hard drive because the memory is in fact volatile (meaning not capable of holding data on power off) and these RAM drives have a battery. Once that battery is dying, dead or removed, all data is wiped.

Fun fact # 457

SSDs, while they can hold data for long periods of time, will eventually need power due to a slow bit degradation in the memory chips. This may be a months or years long process, but it happens. So if you chose to use a SSD for a very long term clone or backup, you should apply power to it every once in a great while. Like every 6 months or so. I've read some SSDs have internal batteries, but I've never ran across one I've ever bought. All the SSDs I bought which were Adata, Kingston and Crucial were just a metal box with a board inside holding several memory chips. Drill holes in each memory chip and that data is gone to infinity and beyond. Way more secure than a PATA when it comes to data wiping using this method. You can burn, beat, or drill holes in a platter HDD and you can STILL recover data off of it. The FBI has methods of doing just that. Believe me.


Anyway...


Volatile | Definition of Volatile at Dictionary.com

Nonvolatile | Definition of Nonvolatile at Dictionary.com

Might be hard to remember as to non-fiction and fiction.


:focus:
The OP didn't ask anything about wiping ram, using an SSD, data recovery, running a webserver, or wiping an SSD. He just asked a question about ram losing data on a power down or reboot. You might have gotten too technical for him.
 

My Computers My Computers

System One System Two

Back
Top