Advertisement
krot

process_info

Nov 1st, 2019
1,714
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 0.13 KB | None | 0 0
  1. F = fun() ->receive after infinity -> ok end end,
  2.     {_,Bytes}=process_info(spawn(F),memory),
  3.     Bytes div erlang:system_info(wordsize)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement