Memory leak occurs when the leaveOpen parameter is set to true

Hello,
After conducting some analyses, it appears that a memory leak occurs when the leaveOpen parameter is set to true. I was unable to find a method to clean up the Large Object Heap (LOH) after executing the conversion.
code:

using var viewer = new Viewer(fileStream, loadOptions, leaveOpen:true);

However, after making some modifications and setting leaveOpen to false , everything seems to be functioning correctly.


This Topic is created by vladimir.litvinchik using Email to Topic tool.

@devFordata

This issue was fixed in GroupDocs.Viewer for .NET 23.12. The version can be found at:

Have a nice day!