Saving xls file with graphs uses 100% CPU

Hello,


BUG1:
when trying to convert xls file in 97-2003 format which contains graphs the conversion takes 100% and all memory
see attached project with sample file.

BUG2/questions:
- is there a way to get progress information from save process?
- if the save operation takes extremely long I tried to kill the thread manually but that does not seem to have any effect. Is there a way to do it without killing the whole process?

Thanks
martin

Hi,


Thanks for your posting and using Aspose.Cells.

We have looked into this issue and found that the last chart at index 5 of the first worksheet causes some problem and because of that the workbook is unable to convert to pdf. We will look into it further and update you asap.

Hi,


Thanks for your posting and using Aspose.Cells for Java.

We have logged your question as well as your issue in our database as

  • CELLSJAVA-42286 - Saving xls file with graphs uses 100% CPU
  • CELLSJAVA-42287 - Get Progress Information or Interrupt the Save to Pdf Process if it is taking too long

Once, there is some news for you, we will update you asap.

The issues you have found earlier (filed as CELLSJAVA-42286) have been fixed in Aspose.Cells for Java 17.5.


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

@konopka,

Regarding “CELLSJAVA-42287”:
Could you try the API of InterruptMonitor which allows to terminate the saving operation without killing the process or thread:

And, we recommend you to try our latest version/fix (e.g Aspose.Cells for Java v18.7.x).

If you find any issue, let us know.