Bug 1526744 - find-dupes.py: Calculate md5 by chunk.
authorRob Lemley <rob@thunderbird.net>
Thu, 21 Feb 2019 20:14:17 +0000 (15:14 -0500)
committerCarsten Schoenert <c.schoenert@t-online.de>
Fri, 23 Aug 2019 18:30:17 +0000 (19:30 +0100)
commit093a5d4db02b1a5967bbdaf8ba1bb7614bf33696
treeda834b50c12299fbdaabc0b3802ac5e40b3815e6
parent2f0b4026656a7b7d42ad11171185c08a8a97bdec
Bug 1526744 - find-dupes.py: Calculate md5 by chunk.

Read the file in chunks and use md5.update() rather than reading the entire
file into RAM and calculating the hash all at once. This prevents out of memory
errors on build systems with low RAM.

Gbp-Pq: Topic fixes
Gbp-Pq: Name Bug-1526744-find-dupes.py-Calculate-md5-by-chunk.patch
toolkit/mozapps/installer/find-dupes.py