bug-coreutils
[Top][All Lists]
Advanced

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

Re: cut fails with "cut: memory exhausted" when taking a large slice


From: Mordy Ovits
Subject: Re: cut fails with "cut: memory exhausted" when taking a large slice
Date: Wed, 21 Apr 2004 16:05:28 -0400
User-agent: KMail/1.5.3

On Wednesday 21 April 2004 03:35 pm, Jim Meyering wrote:
> If you want to continue using cut, you'll have better
> luck with the latest:
>
>   ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.gz
>   ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.bz2

Doesn't work.

address@hidden ~]$ ls -l ~/bigfile
-rw-r--r--    1 movits   movits   9075738624 Apr 21 12:39 /home/movits/bigfile

address@hidden ~]$ cut -b 1-412569600 ~/bigfile > firstchunk

cut never stops.  The file 'firstchunk' just gets bigger and bigger.

When I ctrl-c'ed the cut, firstchunk was already at 491851776 bytes

Mordy
-- 
Mordy Ovits
Network Security
Bloomberg L.P.





reply via email to

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