Re: Memory consumption with cp -l
Ole Tange <[email protected]> Mon, 10 Mar 2003 10:45:30 +0100 (CET)
| Newsgroups | gmane.comp.gnu.fileutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 10 Mar 2003, Jim Meyering wrote: > Ole Tange <[email protected]> wrote: > > I am using 'cp -l' to copy a large file structure. I was a bit surprised > > that 'cp -l' used 300 MB RAM where as 'cp -a' used around 1 MB. > > Thank you for the report. > Unfortunately, I can't reproduce that using the latest version from here: > > ftp://alpha.gnu.org/gnu/coreutils/coreutils-4.5.9.tar.bz2 > (coreutils is the union of fileutils, textutils, and sh-utils) I am just trying this. It is now using 16 MB (and climbing). If you consider this a bug then I will be happy to try making a small file set that reproduces the bug. Will it be sufficient proof if cp is using 5 MB of RAM? Is there any other thing that can influence on the RAM usage? E.g. version of glibc, version of kernel, version of filesystem? /Ole -- If some genie offered you three wishes, would not your first one be, "Tell me, please, what is it that I want the most!" -- Marvin Minsky in freenet://SSK@FaixQi7FkK-~RFGsa64m6FKreHIPAgM/truenames//