Set explicit memory settings.