Module achlys_cleaner

The garbage collection worker.

Behaviours: gen_server.

Authors: Igor Kopestenski (igor.kopestenski@uclouvain.be) [web site: https://github.com/Laymer/achlys].

Description

The garbage collection worker. The general purpose of this worker is to perform explicit calls to the Erlang @link erlang:garbage_collect function. The GC procedure itself generates overhead if performed too often, but has shown improvements in stability on GRiSP boards when intervals around 30 to 60 seconds

were used. The interval can be configured using the following parameter in a sys.config file :

{achlys, {gc_interval, 30000} }

Where gc_interval is set to 30 seconds

Function Index

start_link/0 Starts the server.

Function Details

start_link/0

start_link() -> {ok, Pid::pid()} | ignore | {error, Reason::term()}

Starts the server


Generated by EDoc