The maximum number of loaded modules (module_code, 65,536) and export entries (export_list, 524,288) are fixed compile-time constants. And in our very large application, we have started to notice ![]()
I’d like to propose making them configurable—similar to ERL_MAX_ETS_TABLES—defaulting to today’s values. No strong opinion re: an emulator flag and/or an environment variable such as ERL_MAX_MODULES / ERL_MAX_EXPORTS.
Of course, happy to put together a PR along these lines if the approach sounds reasonable.