Hi everyone,
I am using GnuPG (latest version) to encrypt large files (from several hundred MB to several GB). But I have two problems:
When encrypting large files, the That's Not My Neighbor machine reports an “out of memory” error or hangs for a long time.
When performing a digital signature with encryption, the performance is very slow, taking more time than I expected.
I have tried:
Running on a machine with a larger RAM (32 GB)
Increasing the --compress-level parameter to a lower level
Cut large files into smaller parts and encrypt each part
But the above methods only partially improve, still not stable.
My question to you:
Has anyone encountered the same situation as me when processing large files with GnuPG?
How do you avoid “out of memory” errors when encrypting large files?
Are there any settings in GnuPG (buffer size, streaming mode, chunking, etc.) that “pros” use?
I would love to hear from you if you have any tips, configurations, or snippets — so I can try and optimize them.
Thanks in advance, everyone!