tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.49k stars 418 forks source link

my_worbook.load() - Consumes a lot of memory #522

Closed ghost closed 2 years ago

ghost commented 3 years ago

Hello,

And it is normal that the "load" function that loads an Excel file, which weighs 12 MB, will take up 1.5 GB of RAM ? 0_0

ghost commented 3 years ago

After 12.8Mb in the end it leads to an error "bad allocation".

tfussell commented 2 years ago

There have been some long-standing performance issues with xlnt. I'm going to close all of the old issues in favor of a new umbrella issue https://github.com/tfussell/xlnt/issues/648 where we can discuss options to fix it.