Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_system
garbage_collect/1
Description
garbage_collect/1 is an Erlang function exported by "age_system" module.
Initiates an immediate garbage collection of listed processes.
Improper use of this function can impact the overall system performance and stability!
References
•garbage_collect_app/1
Parameters
Name
Type
Processes
list()
List of processes.
Result
Value or Type
Returns a list with results (see the code sample below).
Code Sample
> age_system:garbage_collect([self()]). [{<0.1526.0>, true}]