https://github.com/termux/termux-packages/issues/14467 https://github.com/meganz/MEGAcmd/issues/507 --- a/sdk/include/megaapi_impl.h +++ b/sdk/include/megaapi_impl.h @@ -3296,7 +3296,7 @@ // Get the actual buffer state for debugging purposes std::string bufferStatus() const; - static const unsigned int MAX_BUFFER_SIZE = 2097152; + static const unsigned int MAX_BUFFER_SIZE = (1 << 25); static const unsigned int MAX_OUTPUT_SIZE = MAX_BUFFER_SIZE / 10; private: