A type of memory whose contents are not lost if the power is turned off or interrupted is said to be non-volatile memory. Non-volatile memory retains stored information even after power is removed, unlike volatile memory which loses data when power is lost
. Examples of non-volatile memory include:
- Read-only memory (ROM)
- Flash memory (such as NAND flash used in SSDs and USB drives)
- Electrically erasable programmable read-only memory (EEPROM)
- Ferroelectric RAM (F-RAM)
- Hard disk drives and other magnetic or optical storage devices
Non-volatile memory is typically used for long-term data storage and secondary storage, preserving data without the need for continuous power