bug-coreutils
[Top][All Lists]
Advanced

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

Re: join


From: Paul Eggert
Subject: Re: join
Date: Tue, 13 Mar 2007 15:06:42 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

address@hidden writes:

> This suggests that
> the join command has a maximum number of lines it can read, is this correct?

It depends on your machine and OS.  For example, if you have many
lines with the same key 'join' has to keep them all in memory, and if
they don't fit in memory it will fail.  It has to count the lines,
too, and the counter is of limited size.

> From my test, it turns out to be somewhere around 6600 lines after which
> the program terminates.

Most likely the problem is somewhere else, then.  On 32-bit machines
the limit is around 4 billion bytes' worth of lines (or less if your
computer has less memory).

I'd guess your input files were not sorted.




reply via email to

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