diff --git a/contest/remote/lib/vm.py b/contest/remote/lib/vm.py index a7e8a64..ed5ef4b 100644 --- a/contest/remote/lib/vm.py +++ b/contest/remote/lib/vm.py @@ -179,6 +179,9 @@ def start(self, cwd=None): cpus = self.config.get('vm', 'cpus', fallback="") if cpus: cmd += ["--cpus", cpus] + mem = self.config.get('vm', 'mem', fallback="") + if mem: + cmd += ["--memory", mem] print(f"INFO{self.print_pfx} VM starting:", " ".join(cmd)) self.log_out += "# " + " ".join(cmd) + "\n"