We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Memory leak when converting from DXF to TIFF when using Aspose CAD 22.2

I’m upgrading Aspose CAD and found an issue with it.
Converting a DXF file to TIFF using Aspose CAD, after a period time, the converting failed with Exception error message: “Image saving failed.”
The problem is that after throwing exception, Aspose CAD leak memory.
Sample code:
using(var fileStream = new FileStream(inFile, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
using(var image = Image.Load(fileStream))
var rasterizationOptions = new CadRasterizationOptions
// Set page width & height
PageWidth = image.Width,
PageHeight = image.Height
ImageOptionsBase option= new TiffOptions(TiffExpectedFormat.Default)
Compression = TiffCompressions.Lzw
option.VectorRasterizationOptions = rasterizationOptions;
image.Save(outFile, option);
catch(Exception e)
//Memory leaked and not released.

Here is file used to reproduced: sample.zip (2.7 MB)
Can you check and help me with this issue?
Thank you

Hi, we have created CADNET-8615 to investigate this issue.