---
title: "OutOfMemoryException Constructor (String)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_OutOfMemoryException_ctor_1_362212bd.htm
product: "Graphics Mill"
---

# OutOfMemoryException Constructor (String)
 
Initializes a new instance of the [OutOfMemoryException](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_OutOfMemoryException.htm.md) class with a specified error message.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public OutOfMemoryException(string message
)
```
 
### Parameters
 
 - message
     - Type: System.String
The message that describes the error.
   
## See Also

### Reference

- [OutOfMemoryException Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_OutOfMemoryException.htm.md)
- [OutOfMemoryException Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_OutOfMemoryException_ctor.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
