set values for cpus and memory