Hello,
I use text search in the aggregation pipeline, and I face a problem. It uses too much RAM (8GB of RAM is not enough for a single aggregation call). Can I make any optimizations to reduce the memory usage?
Collection metrics:
- Number of documents: 380 000
- Size of the collection: ~8GB
- Size of the text index: 340MB
Database: MongoDB 4.4