-
Type: Bug
-
Resolution: Duplicate
-
Priority: Critical - P2
-
None
-
Affects Version/s: 3.2.10
-
Component/s: Querying, Text Search
-
None
-
Environment:mongo on aws docker instance. t2 medium machine
-
ALL
We have a mongodb instance 3.2.10 running on machine with 4gb ram.
I created 700k documents with the string X in them (X is of length 6 character).
When i run textual query of the type:
db.MyCollection.find({$text: {$search: 'X'}})
We see that the memory raises by 800mb.
After running such a query 3-4 consequential times the mongodb instance is automatically restarted.
This prevents us from using the textual indexing feature in production.
Any workaround? Can we disable the query cache for such queries?
- duplicates
-
SERVER-26534 Text search uses excessive memory
- Backlog