forked from hypermodeinc/dgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When calculating a snapshot, retrieve entries in batches. (hypermodei…
…nc#3409) Calculating a snapshot can lead to an OOM issue since the entries might not be able to fit into memory. This PR changes to logic to instead retrieve the entries in batches of 64MB.
- Loading branch information
1 parent
e5b3209
commit 7ab7a93
Showing
1 changed file
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters