azure function pgp decrypt outofmemory exception

Viewed 39

I have an azure function that I use for PGP decryption. I am using the C# library below.

https://github.com/mattosaurus/PgpCore

the code I am using below. Even though I am using premium app service plan with 32GB of memory, my function is failing with outofmemory exception while decrypting the file size of 100MB.

I wasnt able to find any solution to avoid that problem. What would you recommend?

Thanks,

enter image description here

0 Answers
Related