Hello, I've few questions, that how to calculate how much memory required for typesense single instance to run, if there are 10 index fields into a document?
f
Fanis Tharropoulos
03/05/2025, 11:35 AM
It's 2x-3x the size of your dataset, only including your indexed fields
Fanis Tharropoulos
03/05/2025, 11:36 AM
So if my dataset is 300MB but I have 200MB of indexed fields (URL fields for example shouldn't be indexed), then you'd need around .5GB-0.6GB of RAM
l
Lalmani Garg
03/06/2025, 10:15 AM
thanks for helping; do I need to consider non-indexed fields as well in sizing; because i've given 64GB ram but its not even able to old a million records
f
Fanis Tharropoulos
03/07/2025, 6:42 AM
No, if you set a field as non-indexed, it won't be stored on RAM, just saved in disk.
But for a million records with 64GB of RAM, that means that your dataset is for sure more than 32GB in size, so your average record size would be at least 32KB which is really big. Is that the case?