aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/atom.c
diff options
context:
space:
mode:
authorJulien Barbot <[email protected]>2010-01-29 11:31:15 +0100
committerBjörn Gustavsson <[email protected]>2010-02-02 15:47:18 +0100
commit489577676f14d5ee62459f9134095d982a08e430 (patch)
tree6a9b01cfecf792b0e9577ca95cde7f87a30cc947 /erts/emulator/beam/atom.c
parent085012b1ac9251d1cbd821f8b28034072fba63c3 (diff)
downloadotp-489577676f14d5ee62459f9134095d982a08e430.tar.gz
otp-489577676f14d5ee62459f9134095d982a08e430.tar.bz2
otp-489577676f14d5ee62459f9134095d982a08e430.zip
Add the +t emulator option to change the maximum number of atoms
It is now possible to increase or decrease the maximum number of atoms the VM can handle. The default value is 1048576 (1024*1024).
Diffstat (limited to 'erts/emulator/beam/atom.c')
-rw-r--r--erts/emulator/beam/atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/atom.c b/erts/emulator/beam/atom.c
index dfc3cde6a7..3a231206ae 100644
--- a/erts/emulator/beam/atom.c
+++ b/erts/emulator/beam/atom.c
@@ -322,7 +322,7 @@ init_atom_table(void)
text_list = NULL;
erts_index_init(ERTS_ALC_T_ATOM_TABLE, &erts_atom_table,
- "atom_tab", ATOM_SIZE, ATOM_LIMIT, f);
+ "atom_tab", ATOM_SIZE, erts_atom_table_size, f);
more_atom_space();
/* Ordinary atoms */