ISchedulerJob::MaxMemory property

Retrieves or sets the maximum amount of memory that a node may have for the job to run on it.

This property is read/write.

Syntax

HRESULT put_MaxMemory(
  [in]  long memory
);

HRESULT get_MaxMemory(
  [out] long *pMemory
);

Property value

The maximum amount of memory, in megabytes, that a node may have for the job to run on it. The default value is INT_MAX.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ISchedulerJob::ErrorMessage property.

Remarks

This property is not used in the scheduling process unless set by the user.

If you set this property to 1,000, the scheduler will not schedule the job on nodes that have more than 1 GB of RAM.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerJob.MaxCoresPerNode

ISchedulerJob.MinMemory