https://bugs.documentfoundation.org/show_bug.cgi?id=126710

--- Comment #11 from Dave Gilbert <[email protected]> ---
(In reply to Zach Travis from comment #10)
> It would be great to get some attention here!
> From my debugging, it looks like this is caused by multi-layer (or otherwise
> large) pivot tables where rendering/initialization
> (`mpColumnResultRoot->InitFrom( aInfo.aColDims, aInfo.aColLevels, 0,
> aInitState );`) cannot be deferred, i.e. `bLateInit` gets set to false in
> `dbtabsrc.cxx`, due to some field that uses a reference value, e.g. a
> difference, percentage, etc. It seems like in this case the pivot table code
> allocates a std::vector for every entry (cell?) and with lots of layers (?)
> this ends up being some polynomial number of entries and uses a ton of
> memory (sorry I'm not very familiar with pivot table details yet...).

Yeh I'd just come to the same conclusion on bug 100244; I think I'm going to
try and understand whether it's always possible to calculate the referenced
value for an otherwise empty line, and indeed whether you even have to bother.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to