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: Maurice van der Pot <griffon26 <at> kfk4ever.com>
To: 21665 <at> debbugs.gnu.org
Subject: bug#21665: Use of mmap for large files
Date: Sun, 11 Oct 2015 15:42:03 +0200
[Message part 1 (text/plain, inline)]
I am working on an application suitable for visually merging large files.
This application delegates determination of differences to GNU diff.

Unfortunately I have found that diff reads the entire input files into
memory, leading to "/usr/bin/diff: memory exhausted" messages on the
types of files I'd like to support.

Would you be open to patches that enable diffing large files by using
mmap?

Kind regards,
Maurice.

-- 
Maurice van der Pot

Kdiff3 developer   griffon26 <at> kfk4ever.com   http://kdiff3.sourceforge.net
Tdiff3 developer                            https://github.com/Griffon26/tdiff3
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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