Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Paginator fetches pages no matter how many rows already in deque #75

Open
unknownlighter opened this issue Feb 18, 2019 · 0 comments
Open

Comments

@unknownlighter
Copy link

unknownlighter commented Feb 18, 2019

After calling __aenter__, paginator starts fetching pages into memory, no matter how quickly rows are consumed from it. So, if consumer iterates over rows much slower than paginator fetches them, then rows deque starts to growing and causes a large memory consumption.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant