1. A resistive random access memory comprising:
two electrode layers; and
a resistive switching layer mounted between the two electrode layers, with the resistive switching layer consisting essentially
of insulating material with oxygen, metal material, and mobile ions, and with a polarity of the mobile ions being opposite
to a polarity of oxygen ions.