--- description: "Learn more about: Platform::OutOfMemoryException Class" title: "Platform::OutOfMemoryException Class" ms.date: "12/30/2016" ms.topic: "reference" f1_keywords: ["VCCORLIB/Platform::OutOfMemoryException", "VCCORLIB/Platform::OutOfMemoryException::OutOfMemoryException"] helpviewer_keywords: ["Platform::OutOfMemoryException"] ms.assetid: 49c19f6b-f66c-4448-b861-91dcbf32de2c --- # Platform::OutOfMemoryException Class Thrown when there's insufficient memory to complete the operation. ## Syntax ```cpp public ref class OutOfMemoryException : COMException, IException, IPrintable, IEquatable ``` ### Remarks For more information, see the [COMException](../cppcx/platform-comexception-class.md) class. ### Requirements **Minimum supported client:** Windows 8 **Minimum supported server:** Windows Server 2012 **Namespace:** Platform **Metadata:** platform.winmd ## See also [Platform::COMException Class](../cppcx/platform-comexception-class.md)