Re:Erlang/OTP: Garbage Collector
by benmmurphy on Saturday April 01, 2023 @09:15AM
(#35400058)
there are lots of foot guns for the user with this model. because transferring data between processes involves copying this can become a problem. Erlang tries to optimise the handling of large binaries by using a separate reference counted heap. however, this introduces another set of issues where memory is 'leaked' because a smaller binary is holding a reference to a larger binary or because processes that have not been GC'd have not decremented the ref count of large binaries in the heap that they no longer user.
[ Parent
| on HN ]
Re:Erlang/OTP: Garbage Collector
by throwawaymaths on Saturday April 01, 2023 @11:40PM
(#35406947)
You literally listed the two biggest footguns and claimed there are "lots" of footguns. That really is it.