bug-findutils
[Top][All Lists]
Advanced

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

Memory limitation of 'find'


From: P Fudd
Subject: Memory limitation of 'find'
Date: Tue, 14 Sep 2010 17:56:48 -0700

Hello!

Thanks for writing find, I use it daily.

Recently, I've had to use find on unusual filesystems.  Specifically,
filesystems containing directories with 35,000 files in them, with
each filename being 11 characters long.

Example:
  $ ls -f chromat_dir | wc -l
  35234
  $ mkdir /tmp/foo; cp chromat_dir/* /tmp/foo
  /bin/cp: Argument list too long.
  $ find chromat_dir > /dev/null
  find: chromat_dir: Cannot allocate memory
  $ 

Is there a way to remove the memory limitation?  The computer has 16
gigs of ram; allocating 387k shouldn't cause it to choke like this.  

Environment: MacOSX 10.6.4, Fink 0.29.13, findutils 4.2.20-7.

Thanks!



reply via email to

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