Ghostscript.Net v 1.2.1 算术溢出错误

Joh*_*ton 5 c# memory-management out-of-memory ghostscript.net

有没有人在执行以下 raster.Open 时从 Ghostscript 中看到这个特定错误:

using (var raster = new GhostscriptRasterizer())
{
raster.Open(pdfFileStream, _version, true);
Run Code Online (Sandbox Code Playgroud)

其中 _version 是:

Ghostscript.NET.GhostscriptVersionInfo _version = Ghostscript.NET.GhostscriptVersionInfo.GetLastInstalledVersion(Ghostscript.NET.GhostscriptLicense.GPL | Ghostscript.NET.GhostscriptLicense.AFPL, Ghostscript.NET.GhostscriptLicense.GPL);
Run Code Online (Sandbox Code Playgroud)

System.OverflowException: 算术运算导致溢出。在 Microsoft.WinAny.Interop.DynamicNativeLibrary.FinalizeSections(MEMORY_MODULE* memory_module) 在 Microsoft.WinAny.Interop.DynamicNativeLibrary.MemoryLoadLibrary(Byte[] data) 在 Microsoft.WinAny.Interop.DynamicNativeLibrary..ctor(Byte[] buffer) 在 Ghostscript .NET.GhostscriptLibrary..ctor(GhostscriptVersionInfo version, Boolean fromMemory) at Ghostscript.NET.Interpreter.GhostscriptInterpreter..ctor(GhostscriptVersionInfo version, Boolean fromMemory) at Ghostscript.NET.Viewer.GhostscriptViewer.Open(String path, GhostscriptVersionInfo versionInfo, Boolean dllFromMemory) at Ghostscript.NET.Viewer.GhostscriptViewer.Open(Stream stream, GhostscriptVersionInfo versionInfo, Boolean dllFromMemory) at Ghostscript.NET.Rasterizer。