This pull request addresses a MemoryError issue encountered when computing the SHA256 checksum for validation of each downloaded tar
Changes:
Modified the compute_sha256 function to read files in chunks rather than loading them entirely into memory.
Verified the fix, the script is able to run without a crash
Included screenshots demonstrating the issue before the fix and the successful execution after the fix.
Added system memory usage information (free -h) to provide context for a system where the issue should be replicable
Screenshots:
Screenshot 1: Error encountered when processing a download
Screenshot 2: Successful execution after implementing chunked reading
Issue:
This pull request addresses a MemoryError issue encountered when computing the SHA256 checksum for validation of each downloaded tar
Changes:
Modified the compute_sha256 function to read files in chunks rather than loading them entirely into memory.
Verified the fix, the script is able to run without a crash
Included screenshots demonstrating the issue before the fix and the successful execution after the fix. Added system memory usage information (free -h) to provide context for a system where the issue should be replicable
Screenshots:
Screenshot 1: Error encountered when processing a download
Screenshot 2: Successful execution after implementing chunked reading
System Memory Usage