Differentiable Neural Computer (DNC)  extends the NTM to address the issue by introducing a temporal link matrix, replacing the least used memory when the memory is full.
this method is a rule-based one that cannot maximize the performance on a given task.