GNU bug report logs - #71529
Crash for large directory due to memory outage

Previous Next

Package: diffutils;

Reported by: Evan Greenup <evan_greenup <at> protonmail.com>

Date: Thu, 13 Jun 2024 05:24:03 UTC

Severity: normal

Tags: moreinfo

Full log


View this message in rfc822 format

From: Evan Greenup <evan_greenup <at> protonmail.com>
To: 71529 <at> debbugs.gnu.org
Subject: bug#71529: Crash for large directory due to memory outage
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.




This bug report was last modified 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.