When do memory limitations lead to regularization? An experimental and computational investigation