'cad image is not loading large files

I am trying to load a .dwg file to convert from cad to pdf using below code:

using (var image = Aspose.CAD.Image.Load("fileName.dwg"))
{
    // process the drawing
}

But .dwg file is not being load by above code. It takes so much time for loading but nothing happens and process continues without any end.(I have uploaded file of 212 MB and waited for more than 1 hour). Please let me know how I can load file using Aspose.CAD.Image.Load

Note: I am using this code and process in asp.net webforms.



Solution 1:[1]

  1. Update the nuggets to the latest version (currently : 22.4.0)
  2. Converting larger dwg files to png or jpg takes a long time, instead convert it to pdf first (can take 15sec) then convert the pdf file to png or jpg file.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Wai Ha Lee