A memory cell having a programmable solid state electrolyte layer, a
writing line and a controllable switch that is arranged between the solid
state electrolyte layer and the writing line. The controllable switch has
a control input that is connected with a selecting line and the switch
also has a limiting element that limits a current through the solid state
electrolyte layer to a predetermined amount of electric charge for a
write operation.