[erlang-questions] Erlang code loading

Richard O'Keefe <>
Tue Nov 22 03:19:56 CET 2011


On 22/11/2011, at 12:50 AM, CGS wrote:

> One instance per process, one memory allocation per process (even if it is the same code running). Erlang has no explicit knowledge of beam shared objects as far as I know. If somebody knows differently, please, correct me.

The original poster asked about "a huge FUNCTION".  Loading a module into a running Erlang system
creates ONE copy of the code that is shared by ALL Erlang processes that use it.





More information about the erlang-questions mailing list