[rabbitmq-discuss] abnormally large memory use in "binaries"

Emile Joubert emile at rabbitmq.com
Thu Oct 17 10:00:27 BST 2013


On 16/10/13 12:11, Emile Joubert wrote:

> rabbitmqctl eval 'lists:sublist(lists:reverse(lists:sort([{Sz, P,
> process_info(P)} || {{binary, [{_, Sz, _}]}, P} <-
> [{erlang:process_info(P, binary), P} || P <- erlang:processes()]])), 20).'

Actually, that command won't provide useful results. Could you please
try this instead?

rabbitmqctl eval 'lists:sublist(lists:reverse(lists:sort([{length(Bin),
lists:usort(Bin), P, process_info(P)} || {{binary, Bin = [_|_]}, P}
<-[{erlang:process_info(P, binary), P} || P <- erlang:processes()]])), 20).'





-Emile





More information about the rabbitmq-discuss mailing list