adjusting memory