bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort: memory exhausted with 50GB file


From: Paul Eggert
Subject: Re: sort: memory exhausted with 50GB file
Date: Sun, 27 Jan 2008 16:27:26 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Leo Butler <address@hidden> writes:

> wc is counting with long ints, and the first line of this 50GB file is a 
> string 
> of \0 whose length appears to be negative when counted with long ints. 
> (Details 
> below).
>
> I believe that this must be an error in the header file where 'uintmax_t' is
> defined. 

If the header misdefines uintmax_t, that will break several programs
in coreutils, not just 'wc' (or 'sort', for that matter).  Can you
investigate why this is happening?  You can build coreutils 6.10 from
scratch and look in config.log to see why it is mishandling uintmax_t.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]