Description of problem: Chapter 3.3.1 of the Installation Guide[1] ("Verifying checksums on Windows systems") suggests to pass the image as a byte array to the ComputeHash() method for calculating the SHA-256 checksum: > $download_checksum = [System.BitConverter]::ToString($sha256.ComputeHash([System.IO.File]::ReadAllBytes("$PWD\$image"))).ToLower() -replace '-', '' This reads the entire image into memory and may thus result in memory exhaustion (System.OutOfMemoryException), depending on the size of the image and the available memory in the computer running the verification. Solution: Read the image as a stream[2] instead of a byte array. > $stream = (Get-Item "$PWD\$image").OpenRead() > $hash = $sha256.ComputeHash($stream) > $stream.Close() > $download_checksum = [System.BitConverter]::ToString($hash).ToLower() -replace '-' [1]: https://docs.fedoraproject.org/en-US/Fedora/23/html/Installation_Guide/sect-verifying-images.html [2]: https://msdn.microsoft.com/en-us/library/xa627k19.aspx
*** This bug has been marked as a duplicate of bug 1175759 ***