code: def set_ram(self, ram):
          
  
          yield from self._execute("modifyvm", [self._vmname, "--memory", str(ram)], timeout=3)
          log.info("GNS3 VM RAM amount set to {}".format(ram))
docs: Set the RAM amount for the GNS3 VM.
  
          :param ram: amount of memory