Subject: Re: diff runs out of memory on 50MByte files (on 1GByte host)
To: =?ISO-8859-1?Q?Timo_Sch=F6ler?= <timo.schoeler@macfinity.net>
From: Chuck Swiger <cswiger@mac.com>
List: netbsd-help
Date: 04/03/2005 16:27:07
Timo Schoeler wrote:
> fulcrum: {50} diff -u objdump.netbsd_MP_FULL_OPT objdump.netbsd_MP_OPT_O3
> diff: memory exhausted
> 
> -rw-r--r--  1 tis   users   50M Apr  3 16:19 objdump.netbsd_MP_FULL_OPT
> -rw-r--r--  1 tis   users   50M Apr  3 16:33 objdump.netbsd_MP_OPT_O3
> 
> is there anything i can do to get a 1GByte RAM machine diff two ~50MByte 
> files?

Consider bsdiff:

"This is a pair of tools for building (bsdiff) and applying (bspatch)
binary patches.  When applied to two versions of the same executable
the patches produced are significantly smaller than those generated
by other binary diff tools (eg, xdelta).

WWW: http://www.daemonology.net/bsdiff/"

-- 
-Chuck