Skip to content

Commit ece2328

Browse files
committed
Align Memory usage section with updated RAM guidance
The Memory usage section still recommended a 1:1 RAM-to-disk ratio, contradicting the updated Memory mapping paragraph. Replace the 1:1 recommendation with a reference to the 1/3 ratio guidance, keeping both sections consistent. Entire-Checkpoint: 9c68757644a6
1 parent 3e36bc8 commit ece2328

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

learn/engine/storage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ When deleting documents from a Meilisearch index, you may notice disk space usag
4040

4141
Since LMDB is memory mapped, it is the operating system that manages the real memory allocated (or not) to Meilisearch.
4242

43-
Thus, if you run Meilisearch as a standalone program on a server, LMDB will use the maximum RAM it can use. In general, you should have the same amount of RAM as the space taken on disk by Meilisearch for optimal performance.
43+
Thus, if you run Meilisearch as a standalone program on a server, LMDB will use the maximum RAM it can use. More RAM means more of the dataset stays in cache and fewer reads hit disk, but a [RAM‑to‑disk ratio of around 1/3 does not materially impact performance](#memory-mapping) for most workloads.
4444

4545
On the other hand, if you run Meilisearch along with other programs, the OS will manage memory based on everyone's needs. This makes Meilisearch's memory usage quite flexible when used in development.
4646

0 commit comments

Comments
 (0)