Generic barrier models and memory retention. a, Schematic of a generic barrier model for memory devices, consisting of a storage node with information-bearing particles ‘protected’ by a barrier. Eb, energy-barrier height. b, A similar barrier model is used in chemical kinetics applied to chemical reactions. c, Summary of calculated memory-retention times for DNA and NAND flash memory in both air and water.