Out of memory error with 0.9.3/0.9.4


I’m experiencing out of memory errors after upgrading from 0.8.3 to 0.9.3/0.9.4. The repository continues to (appear to) work properly using 0.8.3. Both backup and check commands fail in 0.9.4. I’m using the dockerized version of the restic backend running under Docker on a Synology NAS, found at https://hub.docker.com/r/restic/rest-server/, with the restic front end running under Win7. The repository is approximately 2.6TB.

I didn’t see how to attach a log file and the log is too big to post. The complete log can be found here: https://www.dropbox.com/s/62edvtv2t8ehfgo/resticoom.txt?dl=0. It contains the output from:

restic -r rest:http://synology:8001 check >resticoom.txt &2>1

Any help appreciated!


Did you solve that in the meantime?


Nope. No one ever replied, and for now I’m just using 0.8.3. I’ve actually been chasing another problem where the restic repository written by the backend running in docker on a Synology NAS isn’t being backed up to Backblaze B3 unless the cloud sync process is paused and resumed.

If you have any suggestions they’d be welcome!


I am still in the evaluation phase, so I don’t have enough experience to troubleshoot your problem. Reports like that make me uneasy though.
Maybe @fd0 can shed some light on the issue?


Sorry for not responding earlier, I don’t have much time at the moment. restic keeps an index of what data is stored where in the repo in memory. It seems to scale with the number of files (more files -> more memory usage) rather than the size of the repo. I’ll tackle this issue next. :slight_smile: