-
Notifications
You must be signed in to change notification settings - Fork 732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scroll memory improvement #1740
Conversation
Could you see any side effects of this change? |
I've not seen any side effects, the Also it may be good to include nulling the result in the |
@ruflin LGTM, should I squash-and-merge this one? |
Handling the "nulling" of the property in the |
@ruflin thought about the
So I'm not seeing any usecase for that after all. |
Remove reference to current result set before running another call to ES - without this it was effectively doubling memory requirement for data as json parsing and processing to ResultSet was done before previous ResultSet was released.
As i'm working with quite large dataset i hit memory limit and found i can fix it by just removing the reference before next search() call.