[erlang-questions] Problem with erlang:memory(processes_used)

Alexander Petrovsky <>
Mon Nov 24 10:29:32 CET 2014


Hi!

On Erlang v.17, the function erlang:memory(process_used) shows that summary
size on used memory near 17 (exa?)byte. The erlang application build on the
CI server as erlang release and then  rolled on the cluster.

CI server:

> erlang:system_info(system_version).
"Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:4:4] [async-threads:10]
[kernel-poll:false]\n"

# uname -a
Linux ci.our.net 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux


Target server:

> erlang:system_info(system_version).
"Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:4:4] [async-threads:10]
[kernel-poll:true]\n"

> erlang:memory(processes_used).

18446744073687889792

> lists:sum([V || {memory, V} <- [erlang:process_info(Pid, memory) || Pid
<- erlang:processes()]]).
15523320

# uname -a
Linux n2432.our.net 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2 x86_64 GNU/Linux

# free -m
             total       used       free     shared    buffers     cached
Mem:          7978       3397       4581          0        289       1511
-/+ buffers/cache:       1596       6382
Swap:        15625          0      15625

Can someone please help me with this?

-- 
Петровский Александр / Alexander Petrovsky,

Skype: askjuise
Phone: +7 914 8 820 815
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141124/4354bccf/attachment.html>


More information about the erlang-questions mailing list