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: Ken Wolcott
Subject: Re: cut fails with "cut: memory exhausted" when taking a large slice
Date: Wed, 21 Apr 2004 14:54:56 -0500

perl

On Wed, 2004-04-21 at 13:31, Mordy Ovits wrote:
> When I try to cut a 412,569,600 byte chunk from the middle of a 9GB file, cut 
> fails.  I believe it is trying to allocate memory for the full 412MB, which 
> is not the best way to do it.  It's best to do it in chunks, like cp does.
> 
> Also, does cut support files larger than 4GB?
> 
> This in on Linux 2.4.22 with glibc 2.3 and coreutils-5.0-6.1.92mdk
> 
> Even if its a bug, can you recommend another tool that will allow taking a 
> large slice from a huge file?
> 
> Thanks,
> Mordy





reply via email to

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