Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Use retrievalPageSize in CouchDB EDV provider to allow for optimized memory usage in Query method #169

Closed
DRK3 opened this issue Dec 4, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@DRK3
Copy link
Collaborator

DRK3 commented Dec 4, 2020

In the case of a query where many documents share the same index name, that method could potentially consume a lot of memory since it will hold a lot of document IDs temporarily. We should use the retrievalPageSize value (which is set in the startup args) so that paging can be done to help control memory usage. Note that without official pagination support in the spec, it won't be possible to truly cap the amount of memory consumed (see #168) without going outside of the spec.

@DRK3 DRK3 added the enhancement New feature or request label Dec 4, 2020
@DRK3 DRK3 self-assigned this Dec 4, 2020
@DRK3
Copy link
Collaborator Author

DRK3 commented Apr 29, 2022

No longer relevant as of #237

@DRK3 DRK3 closed this as completed Apr 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant