[erlang-questions] number of modules limit?

Dániel Szoboszlay <>
Sun May 7 21:19:06 CEST 2017


Yes, there are limits for both the number of modules (65536) and the number
of exported functions (524288 = 8 functions/module for the maximum number
of modules).

See erlang:system_info(info) for details, and in particular look for the
limits under the =index_table:module_code and =index_table:export_list
sections.

Cheers,
Daniel

On Sun, 7 May 2017 at 19:34 Karlo Kuna <> wrote:

> I am currently working on app that has potential to contain large number
> of modules > 10 000
> these are mostly implementations of behaviours that are generated in
> runtime.
>
> My question is, what is most modules you have encountered in production in
> running erlang application, and is there practical limit on number of
> number of modules in system??
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170507/23fdef45/attachment.html>


More information about the erlang-questions mailing list