How big can be number of ets tables?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How big can be number of ets tables?

Max Lapshin-2
Erlang VM has option to limit number of ets tables.

What bad will happen, if I set it to 65536?
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: How big can be number of ets tables?

Sverker Eriksson
Max Lapshin wrote:
> Erlang VM has option to limit number of ets tables.
>
> What bad will happen, if I set it to 65536?
> _______________________________________________
> erlang-questions mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-questions
>
>  

Static meta-tables are allocated at emulator start.
Currently (R14B03) no more than (ERL_MAX_ETS_TABLES * 3) words are
allocated.
A word is either 4 or 8 bytes depending on type of OS process.

/Sverker, Erlang/OTP

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions