[.Net] Convert DWG to SVG, Memory Issue

Hi,
There is memory issue when convert DWG to SVG.

It occupied lots of memory (about 4GB)
Also, Occupying Memory even after the converting is finished (reduced only 2GB)

Do I have to insert code like dispose() after converting ?
or is there any solution ?


using(Image image = Image.Load(sourcePath))
{
Aspose.CAD.ImageOptions.SvgOptions options = new Aspose.CAD.ImageOptions.SvgOptions();

                options.ColorType = Aspose.CAD.ImageOptions.SvgOptionsParameters.SvgColorMode.Grayscale;
                options.TextAsShapes = true;

                try
                {
                    image.Save(targetFullPath, options);
                    return targetFullPath;
                }
                catch (Exception ex)
                {
                    ex.ToString();
                    return null;
                }
            }

@loverpc,
Hello.
Please, attach your initial file, so we can reproduce and inspect this case.

TEST_DWG.zip (5.6 MB)

please check this file

@loverpc,
we have created CADNET-9067 issue to look at this in more details.

@loverpc,
Hello.
We can not reproduce this problem, it is about 1GB memory consumption at max on our side. Could you please try the attached example? What version of Aspose.CAD do you use?
Sample.zip (270.5 KB)