change memory settings