force evaluation of vars memory_mb, num_cpus to be int fixes #7903