Sure, there will always be limitations. But it's usually
cheaper/easier to add a few gigs of disk space than it is
to add a few gigs of RAM. (And if you do it in Perl, multiply
that by a factor as well). Typically, 'sort' will need free
disk space about the same amount as the file to sort is large.
Abigail