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

Free Support Forum - aspose.com

Exception and out of memory behaviour

Hi,

We are running a multi-threaded application and sometimes get the following exceptions (other time we get out of memory exception) - this happens randomly and the same document converts well after a few minutes

Aspose.CAD.CadExceptions.ImageSaveException:
at Aspose.CAD.Image.SaveInternal (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at Aspose.CAD.Image.Save (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at TotalSynergy.Asopse.Converter.Concrete.AsposeConverter.ConvertCADToPng (TotalSynergy.Asopse.Converter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: D:\a\18\s\TotalSynergy.Asopse.Converter\Concrete\AsposeConverter.cs:237)
Inner exception System.ArgumentException handled at Aspose.CAD.Image.SaveInternal:
at #=z3SfOEaCKcYfWSv2V_vOoMz_9bVAHX5$PAfoiioM=…ctor (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zQoB1$qEDjpV$DB$mbijQpU4ruRojVHHoFDRzwu6Ipp0P2fI8iorW0NFt4LobHCD6Vke8Yet2MUfq.#=zhUA9NE0w0dIe (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zQoB1$qEDjpV$DB$mbijQpU4ruRojVHHoFDRzwu6Ipp0P2fI8iorW0NFt4LobHCD6Vke8Yet2MUfq.#=zI27zjBcnXQZ4 (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zQoB1$qEDjpV$DB$mbijQpU4ruRojVHHoFDRzwu6Ipp0P2fI8iorW0NFt4LobHCD6Vke8Yet2MUfq.#=ztRxxrKA= (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zF0jTOH2zscjrkx3d0sWRz6R8nRHNg2eO5yRldLNhkx0ayoU6CQ==.#=zPLGPYbE= (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zF0jTOH2zscjrkx3d0sWRz6R8nRHNg2eO5yRldLNhkx0ayoU6CQ==.#=z9gg4Xi57DBpE (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zr1iL4EBq3Rgrub5LmWkJFJZ2gRMwd_VuPRT28_o=.#=zLaOXrE5Z7rPn (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zUDowbxyavrdtytzPna5Fn_44njZlWoqd1ocItXsa5GIoor7cHw==.#=zTyUFQAkN2lRI (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zquIc6fuy8$IkVGl0EF2e0QKNIbx$hmdKNRvX0V5uyNLp2nIyynPGO9RuIVkm.Export (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at Aspose.CAD.Image+#=zUzK7kRm1jd9hnoyz6w==.#=zPe$34Ok59ApjBdhaGg== (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at #=zT1pEaAHoN9vewitE2FZN$8Y=.#=zSzC_B$_V1M$H (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)
at Aspose.CAD.Image.SaveInternal (Aspose.CAD, Version=21.5.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56)

@Total_Synergy,
Hi, could you please attach code example and the file, so we can try to reproduce?