Understanding Memory Usage in Typesense Migration
TLDR Bryan asked about the relationship of System Memory and Typesense Memory Used in their cluster dashboard. Jason clarified that Typesense Memory involves RAM and potential swap space used by Typesense.

Jul 05, 2022 (14 months ago)
Bryan
03:53 PMWe are starting to migrate some more of our Algolia indexes to Typesense and I am trying to determine if the
Typesense Memory Used
in our cluster dashboard is part of the System Memory Used
.In other words is the total memory used
1.
System Memory Used
2.
System Memory Used
+ Typesense Memory Used
I probably am missing this info in the docs so thanks for the assistance.
Jason
04:16 PMTypesense Memory Used is
RAM used by Typesense
+ Any potential swap space used by Typesense
.Ideally you don't want any swap to be used for consistent performance. Swap is only configured for safety purposes
Bryan
04:16 PM
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
System Memory vs Typesense Memory Usage in Cluster Overview
Andrew asked about System vs Typesense memory usage. Jason explained the difference between the two and warned about issues with swap usage.
Understanding Typesense's Internal Operation and Memory Requirement
vikram asked about Typesense's functionality and memory. Harrison, Jason explained that Typesense uses an inverted index stored in memory, with recommendations on how to calculate required memory. Jason warned about possible crashes if inadequate memory is provided.
Memory Usage Error with Typesense Cloud Service
Jeff.Cheng asked about an out-of-memory error with Typesense Cloud service. Kishore Nallan clarified how total memory usage is calculated, leading Jeff.Cheng to consider upgrading memory resources.
