GNU bug report logs - #10877
[sort] too eager to use temp files

Previous Next

Package: coreutils;

Reported by: Rogier Wolff <R.E.Wolff <at> BitWizard.nl>

Date: Fri, 24 Feb 2012 15:13:01 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 10877 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Rogier Wolff <R.E.Wolff <at> BitWizard.nl>
Cc: 10877 <at> debbugs.gnu.org
Subject: Re: bug#10877: Wimpy external files.
Date: Sat, 25 Feb 2012 23:26:01 -0800
On 02/25/2012 11:14 PM, Rogier Wolff wrote:

> Many modern operating systems do "lazy" allocation.

Sure, that's an old trick.  But this has its own problems:
it can mean a process *thinks* it has memory allocated, but it
doesn't *really* have the memory; which means when it tries to
actually *use* its memory it can get killed.  This is not a direction
we want 'sort' to head.

> a slight change in the codebase might be in order
> for "unknown sort size".

Sorry, I didn't follow the rest of that comment.  Perhaps you
could suggest a patch?  That might explain things better.
"diff -u" format is typically best.




This bug report was last modified 6 years and 280 days ago.

Previous Next


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