[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cut fails with "cut: memory exhausted" when taking a large slice
From: |
Mordy Ovits |
Subject: |
cut fails with "cut: memory exhausted" when taking a large slice |
Date: |
Wed, 21 Apr 2004 14:31:30 -0400 |
User-agent: |
KMail/1.5.3 |
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
--
Mordy Ovits
Network Security
Bloomberg L.P.
- cut fails with "cut: memory exhausted" when taking a large slice,
Mordy Ovits <=
Re: cut fails with "cut: memory exhausted" when taking a large slice, Ken Wolcott, 2004/04/21