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;
}
}