[rabbitmq-discuss] RabbitMQ management plugin memory usage in Chrome
Simon MacMullen
simon at rabbitmq.com
Tue Jan 18 13:53:43 GMT 2011
On 17/01/11 08:56, Jon Rowland wrote:
> I left a test app running over the weekend which publishes 1000 msg/sec
> to a broker. I also left the management plugin page open on the Channels
> tab running in Chrome.
>
> I happened to notice that Chrome was using an enormous amount of memory
> – over 1GB and very slowly increasing. As soon as I navigated to another
> page outside of the management console, without restarting the browser,
> the memory was released.
>
> No idea if this is ‘bug’ or ‘feature’ but thought you may be interested.
Hi Jon. I'm sure this is a bug, I'm just not sure if it's in
rabbitmq-management or in Chrome :(
You're not supposed to be able to do anything to leak memory in
JavaScript + HTML. In old browsers you're supposed to avoid circular
references between DOM elements and closures, and AFAICS we do that. So
if there is some bugfix or workaround I'm not sure how to find it.
At the moment the best advice I can give is to decrease the refresh
frequency if this is a problem...
Cheers, Simon
--
Simon MacMullen
Staff Engineer, RabbitMQ
SpringSource, a division of VMware
More information about the rabbitmq-discuss
mailing list