Re:Erlang/OTP: Garbage Collector
by tylerpachal on Sunday April 02, 2023 @08:42AM
(#35409941)
With CacheX being involved the memory leak you mention in your parent comment might be caused by ETS holding references to your binaries. I ran into something similar a few years ago and wrote about it here[0], but the tldr is that you can use `:binary.copy/1` or use the `:copy` option in the `Jason` module if you are using it.
[0] https://tylerpachal.medium.com/tracking-down-an-ets-related-...