alcionai / corso

Free, Secure, and Open-Source Backup for Microsoft 365
https://corsobackup.io
Apache License 2.0
187 stars 41 forks source link

[Bug]: Out of memory when exporting backup #5328

Open pieterhouwen opened 6 months ago

pieterhouwen commented 6 months ago

What happened?

When I run an export of a mailbox (35.78 GB) on an Ubuntu 22.04 server with 4GB RAM I am getting OOM errors.

Please find the log files required by https://corsobackup.io/docs/support/bugs-and-features/#memory-issues in the attachments.

Corso Version?

Corso v0.19.0

Where are you running Corso?

Ubuntu 22.04 server with 4GB RAM and local repository

Relevant log output

GC forced
gc 3132 @1080.057s 6%: 2743+13167+2193 ms clock, 5487+0/7645/1039+4387 ms cpu, 4968->4968->4968 MB, 9825 MB goal, 0 MB stacks, 0 MB globals, 2 P
pieterhouwen commented 6 months ago

corso-gc.log

ntolia commented 6 months ago

We would recommend both using a server or VM with more RAM with Corso as well as GOMEMLIMIT. https://corsobackup.io/docs/support/bugs-and-features/#memory-issues might help.