how should we approach answering the question "where is my X GB of ram being used"? is it as simple as "it will be size of average record X number of records"? i assume there's extra overhead of indexing, faceting, etc.
Chetan Mishra
07/20/2023, 5:52 PM
context: i inserted 1.2M records yesterday in two new collections. one seemed to consume 1.2gb ram, the other seemed to consume 5 gb ram. it's possible i recall incorrectly. i'm trying to figure out why... 🤔
k
Kishore Nallan
07/21/2023, 1:52 AM
Memory usage depends on shape of data. For e.g. a lot of unique tokens == more memory. Type of field (text vs integer), whether facets are enabled etc. also contribute. Once you have about 100K docs, you can typically linearly extrapolate.