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
Periodically and under certain conditions [1] dqlite will take a snapshot [2]. The snapshot ends up copying the memory used in vfs [3] and for a short period of time the memory usage increases by hundreds of MB subject to the dataset. Maybe we should find a way to get this snapshot without spiking the memory? Not sure if this is possible, I am reporting this behavior in case it tips us over in memory constrained environments.
Periodically and under certain conditions [1] dqlite will take a snapshot [2]. The snapshot ends up copying the memory used in vfs [3] and for a short period of time the memory usage increases by hundreds of MB subject to the dataset. Maybe we should find a way to get this snapshot without spiking the memory? Not sure if this is possible, I am reporting this behavior in case it tips us over in memory constrained environments.
[1] https://github.com/canonical/raft/blob/master/src/replication.c#L1368
[2] https://github.com/canonical/raft/blob/master/src/replication.c#L1410
[3] https://github.com/canonical/dqlite/blob/master/src/vfs.c#L2427
The text was updated successfully, but these errors were encountered: