bug#43040: grep 3.4: memory leak

2020-09-11 Thread Paul Eggert
On 9/7/20 11:18 PM, Shlomi Fish wrote: Thanks, Paul! I can confirm that the latest git master version of gnu grep (which incorporates the patches) is faster than 3.4. Thanks for checking; closing the bug report.

bug#43040: grep 3.4: memory leak

2020-09-07 Thread Shlomi Fish
On Mon, 7 Sep 2020 19:59:09 -0700 Paul Eggert wrote: > I don't see the extra memory consumption as necessarily being a bug, if grep > is trading space (which is relatively cheap) for time (which is less so). > Perhaps someone with some time to spare could look into that in more detail. > > The e

bug#43040: grep 3.4: memory leak

2020-09-07 Thread Paul Eggert
I don't see the extra memory consumption as necessarily being a bug, if grep is trading space (which is relatively cheap) for time (which is less so). Perhaps someone with some time to spare could look into that in more detail. The excess CPU consumption is clearly problematic, though. I instal

bug#43040: grep 3.4: memory leak

2020-09-01 Thread Shlomi Fish
Hi Luca, On Tue, 25 Aug 2020 17:17:55 +0200 Luca Borzacchiello via Bug reports for GNU grep wrote: > Dear maintainer, > grep 3.4 is very slow and uses a lot of memory when executed with the > attached inputs: > > time ./grep-3.4/build/bin/grep -f ./mem_leak ./la_divin.txt > [...] > real 0m0,442