Scroll vs search_after memory

Questions related to elasticsearch search.
In an instance using 4Gb memory,
elasticsearch dies with OOM when querying data over 4Gb with scroll API, What about search_arter ??

Would not it be okay to search 50Gb for search_arter?
If i want to output all data to a file, it can be over 50Gb.
I can not predict the internal behavior.
Do you know anyone?

What is your scroll query looking like?

I simply used the java high level API to search all the documents.

for () {
search (scroll_id);
scroll_id = get scroll_id ();

What is the search query?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.