Brian Sammon wrote: > I need to compare two 70 MB files to see if they're different. If I use diff > (Windows 2000, either of two different diff versions), the memory usage > balloons up to around 140MB, as if it was loading both files into memory. > This can be a problem on the computer I want to use it on, as there's not > always 140MB of free memory available. > > Does anyone have any suggestions for how to deal with this? > Suggestions like "Try this command-line option" or "Use this other program" > [preferably open-source] or "read the following website" are welcome. > Suggestions like "get more memory" are, well...
If you only want to know if they are different you can use diff -q diff --brief Does that also need that much memory? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users