I ran JProbe on karthik's code and I suspect that MessageDispath has the memory leak. Please see the attached screen shot from "Memory Leak Detector" in JProbe.
I have put a copy of zip file (activemq_735.zip) on Jira as well. (http://issues.apache.org/activemq/browse/AMQ-735) thanks, -- View this message in context: http://www.nabble.com/4.0-Consumer-OutOfMemoryError-bug--t1707655.html#a4761710 Sent from the ActiveMQ - User forum at Nabble.com.
