We are backing up couchbase bucket with 7.7 million documents.
after 16% progress it ran out of memory:
$ dmesg | grep Kill
[71682227.131776] Out of memory: Kill process 12189 (python) score 833 or sacrifice child
[71682227.330822] Killed process 12189 (python) total-vm:21796864kB, anon-rss:6363680kB, file-rss:0kB
$ ./cbbackup http://100.880.20.80:8091 /home/backups/defaultBucket -u -p -b default
What could be the reason ?