Abnormal problem with exporting pdf

first error:
Connection id “0HM4E756I5PA9”, Request id “0HM4E756I5PA9:00000001”: An unhandled exception was thrown by the application.
System.OutOfMemoryException: Not enough storage.
在 System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
在 Aspose.Pdf.XImageCollection.(Stream , ??? , ??? , Int32 , Image& )
在 Aspose.Pdf.XImageCollection.(Int32 , Stream , Int32 , Boolean , ImageFilterType , Int32 , Boolean , String& ?)
在 Aspose.Pdf.XImageCollection.(Stream , Int32 , Boolean , ImageFilterType , Boolean )
在 Aspose.Pdf.Page.(Stream , Rectangle , Matrix , CompositingParameters , Boolean , Boolean , ???& )
在 Aspose.Pdf.Page.(Stream , Rectangle , CompositingParameters , Boolean , Boolean )
在 Aspose.Pdf.Image.(Double& , Double& , Double& , Boolean , MarginInfo , Double , Double , Page ?, List1 ?, Boolean ?, Boolean ?, Boolean ?, Paragraphs& ?, Double ?, Double ?) 在 ???.() 在 Aspose.Pdf.Cell.(Table , Double , Page , Double , Double , Boolean ) 在 Aspose.Pdf.Row.(Table , Page , Double , Double , Int32 ) 在 Aspose.Pdf.Row.(Table , Double& , Double& , Boolean , Int32& , Int32& , Double , Double ?, Page ?, Int32& ?) 在 Aspose.Pdf.Table.(Double& , Double& , Boolean , Double , Double , Page , Boolean , List1 ?)
在 ???.()
在 Aspose.Pdf.Table.GetHeight()
在 Chemical.Ai.Domain.Help.ExportSearchDetail.CheckPageHeightToAddTable(Document doc, Table table, Boolean isFirst, Double& bottomY, Boolean isEmpty)

second error:
A generic error occurred in GDI+.
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(Stream stream, ImageFormat format)
at Aspose.Pdf.XImageCollection.(Stream , ??? , ??? , Int32 , Image& )
at Aspose.Pdf.XImageCollection.(Int32 , Stream , Int32 , Boolean , ImageFilterType , Int32 , Boolean , String& ?)
at Aspose.Pdf.XImageCollection.(Stream , Int32 , Boolean , ImageFilterType , Boolean )
at Aspose.Pdf.Page.(Stream , Rectangle , Matrix , CompositingParameters , Boolean , Boolean , ???& )
at Aspose.Pdf.Page.(Stream , Rectangle , CompositingParameters , Boolean , Boolean )
at Aspose.Pdf.Image.(Double& , Double& , Double& , Boolean , MarginInfo , Double , Double , Page ?, List1 ?, Boolean ?, Boolean ?, Boolean ?, Paragraphs& ?, Double ?, Double ?) at ???.() at Aspose.Pdf.Cell.(Table , Page , Double , Double , Boolean ) at Aspose.Pdf.Row.(Table , Double& , Double& , Boolean , Int32& , Int32& , Double , Double ?, Page ?, Int32& ?) at Aspose.Pdf.Table.(Double& , Double& , Boolean , Double , Double , Page , Boolean , List1 ?)
at ???.()
at Aspose.Pdf.Page.(Page )
at Aspose.Pdf.Document.ProcessParagraphs()
at Aspose.Pdf.Document.Save(Stream output)
at Aspose.Pdf.Document.Save(Stream outputStream, SaveOptions options)
at Aspose.Pdf.Document.Save(Stream outputStream, SaveFormat format)

Exporting pdf prompts this problem, I hope to check it out as soon as possible

@ljq

Would you please provide following information so that we can further proceed to assist you:

  • Sample source file
  • Sample code snippet
  • Environment details i.e. OS Name and Version, Application Type, etc.