[erlang-bugs] R13B-0, R12B-5 bug in erlang:memory/1

Geoff Cant <>
Tue May 19 20:17:14 CEST 2009

It appears that erlang:memory(processes_used) incorrectly return 0
instead of the value it returns when included in the erlang:memory()

This behaviour occurs in R13B:

> {erlang:memory(), erlang:memory(processes_used), erlang:memory(processes), erlang:system_info(version)}.
 0, % <--- incorrect
 1104752, % <--- correct

This behaviour also happens in R12B-5 as far as I can tell.

As near as I can tell the problem is here,
-- want.processes is not set and/or want.processes_used is not tested.

Geoff Cant

More information about the erlang-bugs mailing list