How to turn off garbage collection (GC) for Elixir processes
longnguyen.substack.com
Before going into detail. You might want to learn more about how GC work in Elixir/Erlang. This blog post explain very well the high level architecture of that, I highly suggest you read Erlang Garbage Collection Details and Why It Matters Ok, now you might probably ask why someone would even want to turn off garbage collection. In general, GC is an expensive process. If your system do it too often then it will consume lots of CPU power. GC in Erlang/Elixir is per-process based, mean that each process will have it own garbage collector.
How to turn off garbage collection (GC) for Elixir processes
How to turn off garbage collection (GC) for…
How to turn off garbage collection (GC) for Elixir processes
Before going into detail. You might want to learn more about how GC work in Elixir/Erlang. This blog post explain very well the high level architecture of that, I highly suggest you read Erlang Garbage Collection Details and Why It Matters Ok, now you might probably ask why someone would even want to turn off garbage collection. In general, GC is an expensive process. If your system do it too often then it will consume lots of CPU power. GC in Erlang/Elixir is per-process based, mean that each process will have it own garbage collector.