Skip to content

Commit 69e7abf

Browse files
joebowbeermarco-ippolito
authored andcommitted
doc: update --max-semi-space-size description
PR-URL: #55495 Fixes: #55487 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 78d8b79 commit 69e7abf

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
@@ -3258,8 +3258,12 @@ an increase of 1 MiB to semi-space applies to each of the three individual
32583258
semi-spaces and causes the heap size to increase by 3 MiB. The throughput
32593259
improvement depends on your workload (see [#42511][]).
32603260

3261-
The default value is 16 MiB for 64-bit systems and 8 MiB for 32-bit systems. To
3262-
get the best configuration for your application, you should try different
3261+
The default value depends on the memory limit. For example, on 64-bit systems
3262+
with a memory limit of 512 MiB, the max size of a semi-space defaults to 1 MiB.
3263+
On 64-bit systems with a memory limit of 2 GiB, the max size of a semi-space
3264+
defaults to 16 MiB.
3265+
3266+
To get the best configuration for your application, you should try different
32633267
max-semi-space-size values when running benchmarks for your application.
32643268

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

0 commit comments

Comments
 (0)