Subject: bug#54155: closed (Re: bug#54155: -f switch fails with large files on 3.x branch)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 28 Feb 2022 17:43:01 +0000

Your bug report

#54155: -f switch fails with large files on 3.x branch

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
54155: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54155
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#54155: -f switch fails with large files on 3.x branch
From: Paul Eggert <[email-masked]>
To: Marco Marsala <[email-masked]>
Cc: [email-masked]
Date: Mon, 28 Feb 2022 09:42:22 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2/24/22 22:45, Marco Marsala wrote:
> 
> grep -F -f b.txt a.txt
> 
> returns just first occurrence with grep 3.10 (mingw64, 4GB RAM machine) 
> if files are bigger (b.txt ~ 1 MB, a.txt ~ 200 MB), works as expected 
> with smaller files.

Could you please send this bug report to whoever maintains the mingw64 
port that you're using? (I don't know who that is; they likely don't 
subscribe to this bug report address.) Thanks.

Subject: -f switch fails with large files on 3.x branch
From: Marco Marsala <[email-masked]>
To: [email-masked]
Date: Fri, 25 Feb 2022 07:45:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

This command:

grep -F -f b.txt a.txt

returns just first occurrence with grep 3.10 (mingw64, 4GB RAM machine) 
if files are bigger (b.txt ~ 1 MB, a.txt ~ 200 MB), works as expected 
with smaller files.

grep 2.10 on Debian (same RAM amount) works as expected even with such 
bigger files.