Apache OpenOffice (AOO) Bugzilla – Issue 120839
[From Symphony]It costs too much memory to open a large spreadsheet file containing pivot tables
Last modified: 2017-05-20 10:31:57 UTC
Open some large spreadsheet files containing big pivot tables, it costs too much memory in the peak time during loading. For some files, it even consume 1.8G memory. This issue would cost Symphony freeze or crash when loading a too large file.
The sample is very big, so post to https://docs.google.com/open?id=0B27TsJa_-7-JaU8tTFk0UUxRaTg. It will cost 320M memory during loading. For some bigger samples, the memory consumption can even reach to 1.8G
Created attachment 79340 [details] Fix patch
[Root Cause] Read all caches first and then convert them later together. It will cost too much memory to store mid result [Resolution] Read one cache and then convert the related tables and then release memory, then read the next one then convert, release. Do it looply.
Created attachment 79354 [details] New fix patch
confirm it
"leiw" committed SVN revision 1381965 into trunk: #i120839 [From Symphony]It costs too much memory to open a large spreadsheet ...
Submit in revision 1381965