Endurance is mainly limited by the possible breakdown of the thin MgO layer.J. H. Lim et al., "Investigating the Statistical-Physical Nature of MgO Dielectric Breakdown in STT-MRAM at Different Operating Conditions," IEDM 2018.
