Hello! We ran out of memory right after we upgrade...
# community-help
g
Hello! We ran out of memory right after we upgraded the cluster from v0.25.1 ti v27.1 is it possible that the automatic re-indexing of all the documents after the upgrade depleted the memory?
A follow up question: If I edit the schemas and index less fields, re-indexing those collections would free-up memory?
j
is it possible that the automatic re-indexing of all the documents after the upgrade depleted the memory?
Yeah that's possible. Also, v27.1 has a bug fix with facet index construction - the fix now indexes all facet values properly, when previously some values were missed from the facet index in previous versions. So that could cause an increase in memory as well.
If I edit the schemas and index less fields, re-indexing those collections would free-up memory?
Yup
🙏 1
g
Great, thank you!
Error: t: Request failed with HTTP code 422 | Server said: Rejecting write: running out of resource type: OUT_OF_MEMORY I cant drop the fields on the schema due to lack of memory, should I delete the collection and create it again?
j
I would recommend temporarily upgrading RAM, then doing the schema change and then scale back down