GNU bug report logs - #21665
Use of mmap for large files

Previous Next

Package: diffutils;

Reported by: Maurice van der Pot <griffon26 <at> kfk4ever.com>

Date: Sun, 11 Oct 2015 17:09:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 21665 <at> debbugs.gnu.org
Subject: bug#21665: [bug-diffutils] bug#21665: Use of mmap for large files
Date: Sun, 11 Oct 2015 14:14:53 -0700
Maurice van der Pot wrote:
> Would you be open to patches that enable diffing large files by using
> mmap?

I doubt whether that would help that much, as it still needs to construct 
information about each line, and that information consumes memory too.  Doing 
this in secondary storage would be a bear.  In practice when I've run into this 
problem, I've either gotten a bigger machine or made my input lines shorter. 
Preferably the former.




This bug report was last modified 9 years and 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.