aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-02-28 09:10:34 +0100
committerBjörn Gustavsson <[email protected]>2010-02-28 09:16:04 +0100
commitcedee54fd81ddf8e4423e5ad4b3e6454001c6e95 (patch)
tree95b88e040ca9043c85dfd3235a8749cc40ead30c /system
parenta0fc666ec22109206141936cb4550bea61da76e9 (diff)
downloadotp-cedee54fd81ddf8e4423e5ad4b3e6454001c6e95.tar.gz
otp-cedee54fd81ddf8e4423e5ad4b3e6454001c6e95.tar.bz2
otp-cedee54fd81ddf8e4423e5ad4b3e6454001c6e95.zip
Efficiency Guide: The maximum number of atoms can be configured
Diffstat (limited to 'system')
-rw-r--r--system/doc/efficiency_guide/advanced.xml3
-rw-r--r--system/doc/efficiency_guide/commoncaveats.xml2
2 files changed, 3 insertions, 2 deletions
diff --git a/system/doc/efficiency_guide/advanced.xml b/system/doc/efficiency_guide/advanced.xml
index 82f82f9fd6..6a191ebdb8 100644
--- a/system/doc/efficiency_guide/advanced.xml
+++ b/system/doc/efficiency_guide/advanced.xml
@@ -154,7 +154,8 @@ On 64-bit architectures: 4 words for a reference from the current local node, an
<item>255</item>
<tag><em>Atoms </em></tag>
<item> <marker id="atoms"></marker>
-The maximum number of atoms is 1048576. </item>
+ By default, the maximum number of atoms is 1048576.
+ This limit can be raised or lowered using the <c>+t</c> option.</item>
<tag><em>Ets-tables</em></tag>
<item>The default is 1400, can be changed with the environment variable <c>ERL_MAX_ETS_TABLES</c>.</item>
<tag><em>Elements in a tuple</em></tag>
diff --git a/system/doc/efficiency_guide/commoncaveats.xml b/system/doc/efficiency_guide/commoncaveats.xml
index e18e5aa510..326db6df8c 100644
--- a/system/doc/efficiency_guide/commoncaveats.xml
+++ b/system/doc/efficiency_guide/commoncaveats.xml
@@ -69,7 +69,7 @@
<p>Atoms are not garbage-collected. Once an atom is created, it will never
be removed. The emulator will terminate if the limit for the number
- of atoms (1048576) is reached.</p>
+ of atoms (1048576 by default) is reached.</p>
<p>Therefore, converting arbitrary input strings to atoms could be
dangerous in a system that will run continuously.