Free Support Forum - aspose.com

XLS to XPS conversion takes a lot of memory

Hi,

I am using Aspose component for conversion of XLS to XPS and saw that small XLSX file occupies huge size of memory during conversion.

Here is my code:
Workbook wb = new Workbook(file);
wb.Save(fileXPS, SaveFormat.XPS);

Can you explain why? And how I can decrease memory allocation during the Save method processing and after its invocation?

Thanks,
Taras

Hi,


Thanks for providing us the template file.

I have tested your issue with your sample file and code and found that it takes lots of memory and time to complete the process. I have logged the issue with an id: CELLSNET-30364. We will look into your issue soon.

Thank you.


Hi,

We have fixed this issue. Please download Aspose.Cells for .NET v7.0.1

We have reduced the memory cost to 1/4~1/3, and improved the performance when converting to xps.

Thanks.

We have checked and it works better now.

Taras.