force evaluation of vars memory_mb, num_cpus to be int fixes #7903
Merge pull request #7904 from loglevel9/7903

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