Skip to content

Commit bffbaa1

Browse files
joebowbeeraduh95
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 d1965f9 commit bffbaa1

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

3545-
The default value is 16 MiB for 64-bit systems and 8 MiB for 32-bit systems. To
3546-
get the best configuration for your application, you should try different
3545+
The default value depends on the memory limit. For example, on 64-bit systems
3546+
with a memory limit of 512 MiB, the max size of a semi-space defaults to 1 MiB.
3547+
On 64-bit systems with a memory limit of 2 GiB, the max size of a semi-space
3548+
defaults to 16 MiB.
3549+
3550+
To get the best configuration for your application, you should try different
35473551
max-semi-space-size values when running benchmarks for your application.
35483552

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

0 commit comments

Comments
 (0)