Date: Wed, 9 Jan 2002 21:01:00 -0800 From: James Long <list@ns.museum.rain.com> To: freebsd-questions@freebsd.org Subject: cmp: Cannot allocate memory Message-ID: <20020109210100.A446@ns.museum.rain.com>
next in thread | raw e-mail | index | archive | help
I have two files, a and b, of the same size. I want to find out whether they are identical. A simple yes or no is sufficient, I don't need a diff-like summary of what the differences are. I figured cmp would be my friend. # cmp a b cmp: b: Cannot allocate memory I have 704M physical and an additional 512M of swap. Files a and b are each larger in size than my total VM. Does cmp make assumptions about file sizes that causes it to break on large files? Is there some other utility I can use which will perform a go/no-go compar- ison on two files of arbitrary size? For now, I wrote a Q&D to do it, but I'd rather like to find out why cmp doesn't want to play. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020109210100.A446>