https://bugs.documentfoundation.org/show_bug.cgi?id=165481
--- Comment #13 from Patrick (volunteer) <[email protected]> --- (In reply to Noel Grandin from comment #12) > The "width" of those two data structures is largely irrevelant, because they > are CompressedArray, so they compress repeating data, which means the > "extra" columns only cost a single entry. >From what I can see in the bottom right corner of attachment #201102, it looks like it is the ScColumn class that is using up all that space. I am guessing that the 71.36 MB of memory for the "operator new" block at the bottom of the stack is the "aCols[nCol].reset(new ScColumn(rSheetLimits));" line in my debug patch in comment #7. Maybe ScColumn has a bunch of memory-using objects hanging off of it? Don't know if this is possible, but maybe using a single shared ScColumn "empty column" instance could significantly reduce the ScColumn memory usage. Don't know if two columns can safely share the same ScColumn instance though. -- You are receiving this mail because: You are the assignee for the bug.
