OutOfMemoryException CLASS

The heap memory is all used and thus new object cannot be allocated.

This is a fundamental system error and can be thrown any time during the runtime, not necessarily where a new be created. Do not try to catch this exception.

Parent Class

All Members


TypeNameSignature
constructorOutOfMemoryExceptionpublic OutOfMemoryException(string)

Constructors


public OutOfMemoryException(string msg)

Create an instance of MissingRequirementException with specified message. Mainly reserved for system use.

Parameters

  • msg The message for this exception.