Subject: Re: "diff" loses on large files?
To: Mike Cheponis <mac@Wireless.Com>
From: Wojciech Puchar <wojtek@wojtek.3miasto.net>
List: port-i386
Date: 07/12/2001 14:38:24
> > > using 6574 buffers containing 26296 KB of memory
> > >
> > > $ ll *odx
> > > 3065307 -rw-r--r--  1 mac  user  661,969,123 Jul 11 21:45 bad.odx
> > > 3065315 -rw-r--r--  1 mac  user  661,969,123 Jul 11 21:45 ok.odx
> > >
> > > $ diff -H  *odx
> > > diff: memory exhausted
> >
> > ulimit -m / ulimit -d should do
>
> Well.....

it's stupid that diff loads both file to memory first and needs 1.3GB VM.