Re: gitk: avoid obscene memory consumption

2016-11-07 Thread Markus Hitter
Am 07.11.2016 um 05:11 schrieb Paul Mackerras: >> - Storing only the actually viewed diff. It's an interactive tool, so >> there's no advantage in displaying the diff in 0.001 seconds over viewing it >> in 0.1 seconds. As far as I can see, Gitk currently stores every diff it >> gets a hold of fo

Re: gitk: avoid obscene memory consumption

2016-11-06 Thread Paul Mackerras
On Sun, Nov 06, 2016 at 11:28:37AM +0100, Markus Hitter wrote: > > Thanks for the positive comments. > > TBH, the more I think about the problem, the less I'm satisfied with the > solution I provided. Including two reasons: > > - The list of files affected to the right is still complete and cli

Re: gitk: avoid obscene memory consumption

2016-11-06 Thread Jacob Keller
On Sun, Nov 6, 2016 at 2:28 AM, Markus Hitter wrote: > - Storing only the actually viewed diff. It's an interactive tool, so there's > no advantage in displaying the diff in 0.001 seconds over viewing it in 0.1 > seconds. As far as I can see, Gitk currently stores every diff it gets a hold > of

Re: gitk: avoid obscene memory consumption

2016-11-06 Thread Markus Hitter
Am 05.11.2016 um 12:08 schrieb Paul Mackerras: > On Fri, Nov 04, 2016 at 03:45:09PM -0700, Stefan Beller wrote: >> On Fri, Nov 4, 2016 at 12:49 PM, Markus Hitter wrote: >>> >>> Hello all, >> >> +cc Paul Mackeras, who maintains gitk. > > Thanks. > >>> >>> after Gitk brought my shabby development

Re: gitk: avoid obscene memory consumption

2016-11-05 Thread Paul Mackerras
On Fri, Nov 04, 2016 at 03:45:09PM -0700, Stefan Beller wrote: > On Fri, Nov 4, 2016 at 12:49 PM, Markus Hitter wrote: > > > > Hello all, > > +cc Paul Mackeras, who maintains gitk. Thanks. > > > > after Gitk brought my shabby development machine (Core2Duo, 4 GB RAM, > > Ubuntu 16.10, no swap t

Re: gitk: avoid obscene memory consumption

2016-11-04 Thread Stefan Beller
On Fri, Nov 4, 2016 at 12:49 PM, Markus Hitter wrote: > > Hello all, +cc Paul Mackeras, who maintains gitk. > > after Gitk brought my shabby development machine (Core2Duo, 4 GB RAM, Ubuntu > 16.10, no swap to save the SSD) to its knees once more than I'm comfortable > with, I decided to invest

gitk: avoid obscene memory consumption

2016-11-04 Thread Markus Hitter
Hello all, after Gitk brought my shabby development machine (Core2Duo, 4 GB RAM, Ubuntu 16.10, no swap to save the SSD) to its knees once more than I'm comfortable with, I decided to investigate this issue. Result of this investigation is, my Git repo has a commit with a diff of some 365'000