Mechanisms by which autophagy regulates memory capacity in ageing