My backups are quite large at 2.1GB.
Currently I have receiving the error
EXCEPTION: failed to allocate memory
Smaller DB only backups at ~250MB upload and complete successfully.
[2014-09-25 00:33:00] Executing the after_create_hook for the backup
[2014-09-25 00:33:00] EXCEPTION: failed to allocate memory
[2014-09-25 00:33:00] /var/www/discourse/app/models/backup.rb:56:in
To me it looks like this code loads the entire 2GB file into memory - the cause of the
failed to allocate memory exception?