Update memory settings in manifests