I am facing a high memory consumption issue when I am refreshing the documents.
index.refresh_ref_docs(documents)
There are around 230 documents. The memory consumption spikes to 16+ Gb and the node does not have it and that leads to OOM issue.
What could be the reason for it, and are there any resolutions?
I can provide other details if needed.