delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/24/03:26:31

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: Jim Meyering <jim AT meyering DOT net>
To: Eric Blake <ebb9 AT byu DOT net>
Cc: cygwin AT cygwin DOT com, bug-coreutils <bug-coreutils AT gnu DOT org>
Subject: Re: "du -b --files0-from=-" running out of memory
In-Reply-To: <49296551.4010801@byu.net> (Eric Blake's message of "Sun, 23 Nov 2008 07:14:41 -0700")
References: <nacii4p76633jbufvfoj4qjesrph05rjga AT 4ax DOT com> <49296551 DOT 4010801 AT byu DOT net>
Date: Mon, 24 Nov 2008 09:25:38 +0100
Message-ID: <87bpw5a5tp.fsf@rho.meyering.net>
Lines: 17
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Eric Blake <ebb9 AT byu DOT net> wrote:
> [adding the upstream coreutils list]
> According to Barry Kelly on 11/23/2008 6:24 AM:
>> I have a problem with du running out of memory.
>>
>> I'm feeding it a list of null-separated file names via standard input,
>> to a command-line that looks like:
>>
>>   du -b --files0-from=-

Thank you for the report.
(thanks, Erik for the Cc)

du's --files0-from option reads the entire list of
file names into memory before processing the first name.

That bug should be fixed very quickly ;-)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019