contacting support. I am representative of Aspose.Pdf team. As stated by my fellow workers, the memory should be released once the Document object
is not used. Please note that when you are using Aspose.Pdf for .NET to create a PDF document and when you save the file over your system, the resources are automatically released. Licensed file is referenced during code initialization but similar resources not captured by the code. Nevertheless, if you are using Stream objects, you need to call Close() and Flush() methods to release the resources. In the event of any further query, please feel free to contact.