You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Uploading "/home/blog/backup/20170407_171845_UTC/www.zip" to "/backup/20170407_171845_UTC/www.zip"... curl: option --data-binary: out of memory
curl: try 'curl --help' or 'curl --manual' for more information
FAILED
An error occurred requesting /upload
The text was updated successfully, but these errors were encountered:
Find the code "if [[ $FILE_SIZE -gt 157286000 ]]; then" and change the 157286000 to 5000000 (5M) for example
At the beginning of the script set CHUNK_SIZE to 5
In this way, if the file is greater than 5Mb, it will upload it in chunks of 5MB, using maximum 5M or RAM for every chunk. It should work and you can still reduce the value.
I use a small memory vps, file size is almost 50M
The text was updated successfully, but these errors were encountered: