I am very new RabbitMQ user (using version 3.5.1) and struggeling to understand the memory usage with my simple application. I am using Stomp plugin and have 100 clients connected (creating around 500 queues). There is not much activity there from the clients, the system is mainly idle. What i do not understand is the high memory usage of my Rabbit instance. Namely why so much memory is gone to binaries section and why the "Binary references" section does not show the use of that memory. Thanks for any clues that would help me to minimize Rabbit memory use in this case.
Status of node 'rabbit@pk-pc' ...
[{pid,2194},
{running_applications,
[{rabbitmq_management,"RabbitMQ Management Console","3.5.1"},
{rabbitmq_web_dispatch,"RabbitMQ Web Dispatcher","3.5.1"},
{webmachine,"webmachine","1.10.3-rmq3.5.1-gite9359c7"},
{mochiweb,"MochiMedia Web Server","2.7.0-rmq3.5.1-git680dba8"},
{rabbitmq_stomp,"Embedded Rabbit Stomp Adapter","3.5.1"},
{rabbitmq_management_agent,"RabbitMQ Management Agent","3.5.1"},
{rabbit,"RabbitMQ","3.5.1"},
{os_mon,"CPO CXC 138 46","2.2.14"},
{mnesia,"MNESIA CXC 138 12","4.11"},
{amqp_client,"RabbitMQ AMQP Client","3.5.1"},
{sockjs,"SockJS","0.3.4-rmq3.5.1-git3132eb9"},
{inets,"INETS CXC 138 49","5.9.7"},
{xmerl,"XML parser","1.3.5"},
{sasl,"SASL CXC 138 11","2.3.4"},
{stdlib,"ERTS CXC 138 10","1.19.4"},
{kernel,"ERTS CXC 138 10","2.16.4"}]},
{os,{unix,linux}},
{erlang_version,
"Erlang R16B03 (erts-5.10.4) [source] [64-bit] [smp:4:4] [async-threads:30] [kernel-poll:true]\n"},
{memory,
[{total,372755696},
{connection_readers,0},
{connection_writers,0},
{connection_channels,0},
{connection_other,22698048},
{queue_procs,23044248},
{queue_slave_procs,0},
{plugins,11556504},
{other_proc,11947144},
{mnesia,1911816},
{mgmt_db,6136048},
{msg_index,2087400},
{other_ets,1717856},
{binary,265533264},
{code,20184143},
{atom,703377},
{other_system,5235848}]},
{alarms,[]},
{listeners,[{clustering,25672,"::"},{amqp,5672,"::"},{stomp,61613,"::"}]},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,6681539379},
{disk_free_limit,50000000},
{disk_free,97045086208},
{file_descriptors,
[{total_limit,924},
{total_used,105},
{sockets_limit,829},
{sockets_used,103}]},
{processes,[{limit,131072},{used,2840}]},
{run_queue,0},
{uptime,4122}]
Thanks for any clues.
Priit.