**Inheritance:**
java.lang.Object, java.lang.Throwable java.lang.Error java.lang.VirtualMachineError java.lang.OutOfMemoryError com.aspose.ms.System.OutOfMemoryException com.aspose.pdf.exceptions.PdfOutOfMemoryException, java.lang.Throwable, java.lang.Error java.lang.VirtualMachineError java.lang.OutOfMemoryError com.aspose.ms.System.OutOfMemoryException com.aspose.pdf.exceptions.PdfOutOfMemoryException, java.lang.Error, java.lang.VirtualMachineError java.lang.OutOfMemoryError com.aspose.ms.System.OutOfMemoryException com.aspose.pdf.exceptions.PdfOutOfMemoryException, java.lang.VirtualMachineError, java.lang.OutOfMemoryError com.aspose.ms.System.OutOfMemoryException com.aspose.pdf.exceptions.PdfOutOfMemoryException, java.lang.OutOfMemoryError, com.aspose.ms.System.OutOfMemoryException com.aspose.pdf.exceptions.PdfOutOfMemoryException, com.aspose.ms.System.OutOfMemoryException, com.aspose.pdf.exceptions.PdfOutOfMemoryException

**All Implemented Interfaces:**
Serializable

```
public class PdfOutOfMemoryException extends com.aspose.ms.System.OutOfMemoryException
```

Represents OutOfMemory errors that occur during PDF application execution.

## Constructors

| Constructor | Description |
| --- | --- |
| [PdfOutOfMemoryException](#PdfOutOfMemoryException-java.lang.String-) | Initializes a new instance of the {@code OutOfMemoryException} class. |
| [PdfOutOfMemoryException](#PdfOutOfMemoryException-java.lang.String-java.lang.Throwable-) | Initializes a new instance of the PdfException class with a specified error message and a reference to the inner exception that is the cause of this exception. |

### PdfOutOfMemoryException {#PdfOutOfMemoryException-java.lang.String-}
Initializes a new instance of the {@code OutOfMemoryException} class.

### PdfOutOfMemoryException {#PdfOutOfMemoryException-java.lang.String-java.lang.Throwable-}
Initializes a new instance of the PdfException class with a specified error message and a reference to the inner exception that is the cause of this exception.
