Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
High memory and disk space consumption when saving to xlsx.
posted
We are using Infragistics3.Excel (December Hotfix for Infragistics 8.3) to export large tables with calculation results to Excel.
As I tried saving the results of our test calculation to new xlsx Format I have noticed that the produced files are almost 4 times larger than old xls ones and memory consumption during the export about 2,5 times higher.

Here are some measured values while exporting 3 small tables (10 – 15 records) and one large table 36000 records with over 40 columns. Memory Usage is a difference  of virtual memory peak private bytes compared to  saving the same table to simple CSV file with StreamWriter ( CSV file size 18 MB):

·         XLS       

file size:  28MB
 
Additional memory required 480MB
·         XLSX 
 file size:  114MB
Additional memory required 1180 MB

The application code for both exports (xls and xlsx) is except for WorkbookFormat identical 

By the way, after XLSX file is opened and resaved in Excel 2007  the file size shrinks to 7MB and total virtual memory consumed by Excel is 270 MB.

 

Are there any fixes planned for these memory issues?

Thanks in advance

DFE
Parents Reply Children
No Data