GPGME Cannot allocate memory on gpgme_op_decrypt_start

Bnà Marco m.bna at
Thu Jun 24 16:42:46 CEST 2021

Hi all.

I'm having this problem with code that would like to decrypt a large gpg file (252 MB) which is password protected!
I set the environment which works whit smaller files but in this case I face

117473366 --> Cannot allocate memory

Is there any option that I can set to use something similar auto-expand-secmem? Is there any other way to solve the problem?

Thank you very much for your attention!

Marco Bna'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Gnupg-users mailing list