Closed gburgett closed 2 years ago
1 Warning | |
---|---|
:warning: | No issue referenced - please create an issue describing a single unit of work and reference it using "closes #[the issue number]" |
Generated by :no_entry_sign: Danger
@jpowell this would be nice to get into the next release of Paper signs
Previously, the SimpleClient response would memoize each page, constructing a linked list of all the pages. For large spaces this means that by the final page, the entire space is held in memory at once.
This PR breaks the linked list, so the lazy iterator runs through each page one at a time and resolves includes within the context of each page. This should allow the garbage collector to clean up past pages, reducing memory pressure.