Free Support Forum - aspose.com

Excel to PDF rendering CPU usage gone upto 100%

Hi Team,



We are facing issue while converting excel to pdf.



It kept trying for 15 mins but did not returned anything, also did not gave any error while trying to convert the excel to pdf.



The CPU utilization gone upto 100% during the conversion process.



Please find the attached excel which generates this issue.



Thanks,

Ashish

Hi Ashish,


Thank you for contacting Aspose support.

We have evaluated the presented scenario while using the latest major release of Aspose.Cells for .NET 8.7.2 and we are able to replicate the said issue, that are; process seems to hang and CPU usage spikes up to 100%. We have logged this incident as CELLSNET-44342 for further investigation by the product team. Please spare us little time to properly investigate the matter and revert back with updates in this regard.

Hi,


We have evaluated your issue further. We find the right margin is 7158278.8300000001 inches for the worksheet in your file, you can check it using “pageSetup.RightMarginInch” API. It is too big and invalid. If you check “Margins” table in MS Excel’s “Page setup” dialog, it will show an exception message. We also have plan to throw an Exception for this case in our next fix.

Thank you.

Hi,

Thanks for using Aspose.Cells.

This is to inform you that we have fixed your issue CELLSNET-44342 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

Hi Ashish,


Please try the latest version of Aspose.Cells for .NET 8.7.2.2 (attached) as we have enhanced the exception handling in this release. Now if the spreadsheet has invalid margins set (as of your sample) then the API will throw appropriate exception rather than halting the conversion process. Please note, you have to fix the problem as discussed here in order to convert the sample to PDF format.

The issues you have found earlier (filed as CELLSNET-44342) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.