[erlang-questions] number of modules limit?
Sun May 7 21:53:34 CEST 2017
permise is that all are used
and i would rather have them already compiled then in funs but that is one
On Sun, May 7, 2017 at 9:49 PM, Gianfranco Alongi <
> You could purge unused modules and just keep the minimum necessary set at
> all times?
> Otherwise create the needed functions during runtime as funs and keep them
> in an ets table?
> On May 7, 2017 20:33, "Karlo Kuna" <kuna.prime@REDACTED> wrote:
> oh wow this limit is rather small !!!
> are there any suggestions how to work around it ?
> On Sun, May 7, 2017 at 9:19 PM, Dániel Szoboszlay <dszoboszlay@REDACTED>
>> 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
>> On Sun, 7 May 2017 at 19:34 Karlo Kuna <kuna.prime@REDACTED> 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
>>> 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
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions