[erlang-questions] how to seek Leaking processes ?

Max Lapshin <>
Wed Jun 20 14:17:19 CEST 2012


So, Morgan is right.

If your code doesn't leak (and you see normal amount of processes via
appmon), than use following code:


PidList1 = processes(),
timer:sleep(5000),
PidList2 = processes(),
Delta = PidList2 - PidList1,

than inspect them with process_info(Pid)

You need dictionary, current_function, etc.



More information about the erlang-questions mailing list