[rabbitmq-discuss] Possible memory leak in the management plugin

Pavel pmaisenovich at blizzard.com
Wed Apr 9 17:06:27 BST 2014


Hi Matthias,

Thanks for your reply!

I'm not 100% sure, but it seems your publishing pattern is slightly
different. This is what we do in our test:

	private void publish(int exchangeCount) throws IOException {
		for (int i = 0; i < exchangeCount; ++i) { // for each of 1000 exchanges
			for (Channel c : channels) { // for each of 1000 channels
				// Channel.basicPublish(exchange, routingKey, props, byte[] body)
				c.basicPublish("foo-" + i, "foo." + i, null, "foo".getBytes());
			}
		}
	}

I will clean up and publish entire source later today. Thanks!



--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Possible-memory-leak-in-the-management-plugin-tp27414p34699.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


More information about the rabbitmq-discuss mailing list