Openssl has an old bug (about 14 years) then you cannot decrypt file bigger than free RAM on your PC. As solution I recommend to you age utility https://github.com/FiloSottile/age