Re: Patch to huge memory consumption in LO Calc

2014-05-30 Thread Kohei Yoshida
Hello Willam, On Thu, 2014-05-29 at 11:34 +0200, William Bonnet wrote: > Hello Kohei, > > Thanks for your feedback. I'll do my best to be C++03 compliant for my > next patches . So far i haven't found an equivalent to shrink_to_fit, > but i think i have another to do it... i'll given it a look

Re: Patch to huge memory consumption in LO Calc

2014-05-29 Thread William Bonnet
Hello Kohei, Thanks for your feedback. I'll do my best to be C++03 compliant for my next patches . So far i haven't found an equivalent to shrink_to_fit, but i think i have another to do it... i'll given it a look during this week end. Meanwhile, i think we can improve things a little with t

Re: Patch to huge memory consumption in LO Calc

2014-05-27 Thread Kohei Yoshida
Hello William, On Sat, 2014-05-24 at 14:47 +0200, William Bonnet wrote: > I attach to this bug entry a proposal for a patch which solve this > problem. A call to shrink_to_fit has been added in the resize_block > method. In order to limit the number of call to this method, and wasting > too mu

Re: Patch to huge memory consumption in LO Calc

2014-05-26 Thread Stephan Bergmann
On 05/24/2014 02:47 PM, William Bonnet wrote: Even if it may look like a memory leak, it is not really one since the memory will be released after the document is closed. The problem exist on recent versions of LO, including master. ("Space leak" is jargon for such symptoms, cf.

Patch to huge memory consumption in LO Calc

2014-05-24 Thread William Bonnet
Hi Kohei, hi all, I would like to report a huge memory consumption in Calc. The issue happens with a spreadsheet containing a very high number of cells, when computing subtotals. My document is a spreadsheet with about 100 columns and 100,000 lines. I am trying to compute a single subtotal o