code: def memory(self):
          
          if self._memory is not None:
              return self._memory
          elif self._config is not None:
              return self._config.defaultMemory
          else:
              raise AttributeError("Default value for 'memory' cannot be determined")
docs: The maximum number of bytes of memory the job will require to run.