Skip to main content

All Questions

Tagged with
7 votes
1 answer
469 views

Why is GNU diff such a memory hog? [closed]

There are enough questions asking how to diff large files, as diff can't handle them. I'd like to know why GNU diff can't handle them. I did a tiny experiment. I diffed two identical datasets, ...
nyov's user avatar
  • 325
3 votes
2 answers
4k views

Tool for diffing large files

When I use "diff" to find the difference between two large data files, diff A.txt B.txt > dif.info it is output: diff:memory exhausted or add the argument "-H" diff -H A.txt B.txt > dif....
Dong's user avatar
  • 43