[erlang-questions] idea: service pack one

Erik Stenman erik.stenman@REDACTED
Wed Nov 14 13:42:02 CET 2007


On 14 nov 2007, at 12.27, Mickaël Rémond wrote:

>
> One thing that might be usefull too might be a movable garbage  
> collector like the Eiffel one.
> As there been some experimentation on this one ?
> The rational behind this is:
> - Erlang is a long running process.
> - If the Erlang application has large variation in memory  
> consumption over time (both increase and decrease), it can generate  
> memory fragmentation, that is increased by the fact that Erlang are  
> long running process.
> - Defragmenting the memory would help for this long running  
> application.

I am not familiar with the term "movable" GC.
Erlang uses a copying collector, i.e. it moves all the data from old  
space to new space during a GC. This way you get defragmentation for  
free.

/Erik 
   


More information about the erlang-questions mailing list