Garbage Collection in Erlang Helps Create Scalable Applications
Too Long; Didn't Read
Erlang is a functional programming language with dynamic typing. Its primary feature is working at a separate-process level. Garbage collection removes data that’s no longer necessary for the app to work. Erlang uses GC that separate objects in the heap into two categories: long-term and short-term. Each process is allocated a certain limit of function calls that it has to do its work in, and after it runs out, the next process in the queue launches. After there is no free space left, the scheduler interrupts execution of the code and uses the garbage collector that allocates a new memory area.