When the process hangs, please take a thread dump (kill -3) and pastebin/gist and share so folks on here can help. Also, how did you determine that it hangs - no log activity, jmx response, etc?
By the way, 1-2gigs of heap is not very large these days not that you should just up it but just fyi. On Aug 26, 2012, at 23:14, "Tlholoe, Peter" <ptlho...@fnb.co.za> wrote: > Good Day, > We have increased the maximum heap size of the JVM started by ActiveMQ to > 2048mb, and set the systemUsage memoryLimit to 1280 (70% of the total max > heap size). We have also set the per destination policy. For topics (“>”) > since they are heavily used we have set the memoryLimit to 512 and 128 mb for > Queues (“>”). And we have also disabled producer flow control. Can it be > something else ?. We are using ActiveMQ 5.4.2 > > I have attached our activemq.xml > To read FirstRand Bank's Disclaimer for this email click on the following > address or copy into your Internet browser: > https://www.fnb.co.za/disclaimer.html > > If you are unable to access the Disclaimer, send a blank e-mail to > firstrandbankdisclai...@fnb.co.za and we will send you a copy of the > Disclaimer. > <activemq.xml>