Skip to content

Commit 6ca8514

Browse files
joebowbeerruyadorno
authored andcommitted
doc: update --max-semi-space-size description
PR-URL: #55495 Fixes: #55487 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent c52a808 commit 6ca8514

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/api/cli.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -3565,8 +3565,12 @@ an increase of 1 MiB to semi-space applies to each of the three individual
35653565
semi-spaces and causes the heap size to increase by 3 MiB. The throughput
35663566
improvement depends on your workload (see [#42511][]).
35673567

3568-
The default value is 16 MiB for 64-bit systems and 8 MiB for 32-bit systems. To
3569-
get the best configuration for your application, you should try different
3568+
The default value depends on the memory limit. For example, on 64-bit systems
3569+
with a memory limit of 512 MiB, the max size of a semi-space defaults to 1 MiB.
3570+
On 64-bit systems with a memory limit of 2 GiB, the max size of a semi-space
3571+
defaults to 16 MiB.
3572+
3573+
To get the best configuration for your application, you should try different
35703574
max-semi-space-size values when running benchmarks for your application.
35713575

35723576
For example, benchmark on a 64-bit systems:

0 commit comments

Comments
 (0)