Skip to content

Instantly share code, notes, and snippets.

@bryanhunter
Created March 30, 2012 23:23
Show Gist options
  • Save bryanhunter/2257851 to your computer and use it in GitHub Desktop.
Save bryanhunter/2257851 to your computer and use it in GitHub Desktop.
Erlang memory usage
**ER15B 32-bit smp disabled**
Erlang R15B (erts-5.9) [async-threads:0]
Eshell V5.9 (abort with ^G)
1> Fun = fun() -> receive after infinity -> ok end end.
#Fun<erl_eval.20.111823515>
2> process_info(spawn(Fun), memory).
{memory,1308}
3>
**ER15B 64-bit smp disabled**
Erlang R15B (erts-5.9) [64-bit] [async-threads:0]
Eshell V5.9 (abort with ^G)
1> Fun = fun() -> receive after infinity -> ok end end.
#Fun<erl_eval.20.111823515>
2> process_info(spawn(Fun), memory).
{memory,2504}
3>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment