Skip to content

Commit 9816d1a

Browse files
committed
doc: update --max-semi-space-size description
1 parent dacbfb1 commit 9816d1a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/api/cli.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3543,8 +3543,12 @@ an increase of 1 MiB to semi-space applies to each of the three individual
35433543
semi-spaces and causes the heap size to increase by 3 MiB. The throughput
35443544
improvement depends on your workload (see [#42511][]).
35453545

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

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

0 commit comments

Comments
 (0)