From 82415dbf0f261c8076eae8a3054569a39b8d648e Mon Sep 17 00:00:00 2001 From: Lior Kogan Date: Tue, 19 Mar 2024 14:42:41 +0200 Subject: [PATCH 1/3] Update memory-usage.md When you count all nested values - it is not "sampling" anymore. --- commands/memory-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/memory-usage.md b/commands/memory-usage.md index b436292373..b55fb59ecb 100644 --- a/commands/memory-usage.md +++ b/commands/memory-usage.md @@ -6,7 +6,7 @@ administrative overheads that a key and its value require. For nested data types, the optional `SAMPLES` option can be provided, where `count` is the number of sampled nested values. The samples are averaged to estimate the total size. -By default, this option is set to `5`. To sample the all of the nested values, use `SAMPLES 0`. +By default, this option is set to `5`. To retrieve the total memory for all of nested values, use `SAMPLES 0`. @examples From 6478d7c33fe5d5444d62342c93fa61b0ffc448e5 Mon Sep 17 00:00:00 2001 From: Lior Kogan Date: Tue, 19 Mar 2024 14:47:34 +0200 Subject: [PATCH 2/3] Update memory-usage.md --- commands/memory-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/memory-usage.md b/commands/memory-usage.md index b55fb59ecb..55d37be805 100644 --- a/commands/memory-usage.md +++ b/commands/memory-usage.md @@ -6,7 +6,7 @@ administrative overheads that a key and its value require. For nested data types, the optional `SAMPLES` option can be provided, where `count` is the number of sampled nested values. The samples are averaged to estimate the total size. -By default, this option is set to `5`. To retrieve the total memory for all of nested values, use `SAMPLES 0`. +By default, this option is set to `5`. To retrieve the total memory for all nested values, use `SAMPLES 0`. @examples From 0e157de5989d94546061e2b3b3a9f964977dc925 Mon Sep 17 00:00:00 2001 From: Lior Kogan Date: Tue, 19 Mar 2024 16:21:02 +0200 Subject: [PATCH 3/3] Update memory-usage.md --- commands/memory-usage.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/memory-usage.md b/commands/memory-usage.md index 55d37be805..ce37b7de92 100644 --- a/commands/memory-usage.md +++ b/commands/memory-usage.md @@ -6,7 +6,8 @@ administrative overheads that a key and its value require. For nested data types, the optional `SAMPLES` option can be provided, where `count` is the number of sampled nested values. The samples are averaged to estimate the total size. -By default, this option is set to `5`. To retrieve the total memory for all nested values, use `SAMPLES 0`. +By default, this option is set to `5`. To retrieve an accurate value of the total allocated memory +instead of an estimate, by summing up all nested values, use `SAMPLES 0`. @examples