Dear Team,
I am trying to convert vsd file to pdf file in my c# application. The size of vsd file is 234 mb. Its giving exception “Error in element VisioDocument in \VisioDocument. Exception of type ‘System.OutOfMemoryException’ was thrown.”.
Sample Wetransfer link : https://we.tl/t-BAVNWJkWLK
XCoder
@perfectdata.techno
Would you please make sure to use the latest version of the API i.e. Aspose.Diagram for .NET 22.2. We used this version and did not notice any exception while loading your file.
I am using the latest version 22.2. Its giving exception in below code :
try
{
Diagram vdxDiagram = new Diagram(strTreePath);
}
catch(Exception e) //Giving exception
{
}
Regards
XCoder
@perfectdata.techno
Would you please make sure that your VS Solution is targeting to x64 mode of debugging? In case you still notice the exception, please share the sample solution in .zip archive with us so that we can test the scenario in our environment and address it accordingly.