I am a Chinese, I am not very good at English. If I say something wrong, I say sorry to you. Thank you to answer my question.
In my UWP project, I want to calculate file's MD5. I use FileOpenPicker
to choose file and FileIO.ReadBufferAsync()
to convert the file to IBuffer
, then I use HashAlgorithmProvider.HashData()
to get the MD5 result. When I choosed small files, the program can run correctly, but I choosed large files(more than 1G), I got an exception, as described below
System.OutOfMemoryException Insufficient memory to continue the execution of the program.
My computer's memory is 16GB, and the remaining memory is abundant. What should I do? Thanks!