Skip to content

Commit 25f8474

Browse files
authoredNov 5, 2024··
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 e53fe03 commit 25f8474

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

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.