From 1c8365272a55301609dc8c46aa49fa0ac048506e Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Fri, 18 May 2018 17:59:33 +0200 Subject: erts: Add system_info(ets_count) --- erts/doc/src/erlang.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'erts/doc') diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index cff56b9cb8..5e0d30ebb7 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -8166,6 +8166,12 @@ ok erl(1).

+ + ets_count + +

Returns the number of ETS tables currently existing at the + local node.

+
ets_limit -- cgit v1.2.3 From b8631ef58c94507d876155ac92335fd9606b259f Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Mon, 21 May 2018 17:49:52 +0200 Subject: erts,stdlib: Improve docs about obsolete ets_limit --- erts/doc/src/erl.xml | 6 ++++-- erts/doc/src/erlang.xml | 10 +++------- 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'erts/doc') diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml index 74654a295d..4cf0066999 100644 --- a/erts/doc/src/erl.xml +++ b/erts/doc/src/erl.xml @@ -631,14 +631,16 @@ of process heaps is destroyed by the crash dump generation.

Option +d instructs the emulator to produce only a core dump and no crash dump if an internal error is detected.

-

Calling +

Calling erlang:halt/1 with a string argument still produces a crash dump. On Unix systems, sending an emulator process a SIGUSR1 signal also forces a crash dump.

-

Sets the maximum number of ETS tables.

+

Sets the maximum number of ETS tables. This limit is + partially obsolete. +

diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 5e0d30ebb7..b1fc4ec450 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -8175,13 +8175,9 @@ ok ets_limit -

Returns the maximum number of ETS tables allowed. This - limit can be increased at startup by passing - command-line flag - +e to - erl(1) or by setting environment variable - ERL_MAX_ETS_TABLES before starting the Erlang - runtime system.

+

Returns the limit for number of ETS tables. This limit is + partially obsolete + and number of tables are only limited by available memory.

port_count -- cgit v1.2.3