Subject: bug#71529: Crash for large directory due to memory outage

From: Evan Greenup <[email-masked]>
Date: Wed, 12 Jun 2024 22:39:51 +0000

Hi,

The `diff` command in `diffutils` can compare the difference between  two directories. 

However, for large directories (the size for each file is small), when traversal through them, `diff` command will eat up all the system memory. My computer is 16GB RAM. And I believe this issue still exist for system with 32GB or 64GB RAM.

I would suggest that it can use more memory efficient algorithm to compare the difference between directories.

Regards!!!

Evan Greenup.