Mono Class Library: System Namespace

System.OutOfMemoryException Class

Represents the error that occurs when insufficient memory prevents the current memory allocation from succeeding. [Edit]

See Also: OutOfMemoryException Members

System.Object
     System.Exception
          System.SystemException
               System.OutOfMemoryException

[System.Runtime.InteropServices.ComVisible(true)]
public class OutOfMemoryException : SystemException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

Note:

The following CIL instructions throw OutOfMemoryException:

  • box
  • newarr
  • newobj
[Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0