Hello,
There is an OutOfMemoryError while saving memory stream to docx format (file having issue is attached).
temp_NTPHousingConstructionJun-JulyTarget_a153fab71a8444f7a5ca92f71c581b0c.pdf (1.6 MB)
We are using Aspose.Pdf (21.8.0.0) with the following save options -
AsposePdfdll.DocSaveOptions saveOptions = new AsposePdfdll.DocSaveOptions();
// Set the recognition mode as Flow
saveOptions.Format = AsposePdfdll.DocSaveOptions.DocFormat.DocX;
saveOptions.Mode = AsposePdfdll.DocSaveOptions.RecognitionMode.Flow;
// Set the Horizontal proximity as 2.5
saveOptions.RelativeHorizontalProximity = 2.5f;
saveOptions.ExtractOcrSublayerOnly = true;
// Enable the value to recognize bullets during conversion process
saveOptions.RecognizeBullets = true;
The error is in the following line -
document.Save(memoryStream, saveOptions);
Same issue is occurring with Aspose to Pdf Web tool while converting this file from pdf to doc. Please provide some solution as it’s coming more frequently on production.
Let me know if you need more information.
Regards,
Sumit Awasthi