Thank you very much for that pointer, that looks helpful :) I'll also
make sure to ask over at erlang-questions!

Tobi

On 05/31/2016 01:29 AM, Dmitry Belyaev wrote:
> Returning to the available choices rather than discussion of necessity.
> 
> You can try to use erlang:spawn_opt
> http://erlang.org/doc/man/erlang.html#spawn_opt-2 setting
> fullsweep_after and min_heap_size to high values to reduce chances of
> garbage collection.
> 
> You should also ask this in erlang-questions list as there are some
> people who know internals of beam vm but don't track questions in this
> mailing list.
> 
> On 30 May 2016 5:34:14 PM AEST, Tobias Pfeiffer <[email protected]> wrote:
> 
>     Hi everyone,
> 
>     is there a way in Elixir/Erlang to turn off the Garbage collection? I've
>     searched and what I found so far is :erlang.garbage_collect to force
>     garbage collection. 
> http://erlang.org/doc/man/erlang.html#garbage_collect-0
> 
>     Is there any way to turn it off completely?
> 
>     Why would I want to do that? I'm working on a benchmarking tool and I
>     don't want garbage collection to mess with my measured execution times.
> 
>     Any hints welcome :)
>     Tobi
> 
> 
> -- 
> Best wishes,
> Dmitry Belyaev

-- 
http://www.pragtob.info/

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-talk/574D6065.5040906%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to