users@glassfish.java.net

Re: JMS not persistent messages

From: Radim Kolar <hsn_at_sendmail.cz>
Date: Thu, 03 Nov 2011 23:03:53 +0100

Dedicated JVM with openMQ will OOM because his full memory actions are
done too late. It works with defaults percentage for memory reclaiming
if you configure at least 1 GB heap size (default heap size is for
standalone is about 180m which is way too low for anything not falling
into hello world category). MQ running inside glassfish will oom for
sure because memory pressure is way higher. its not good idea to run
broker inside AS anyway, you cant restart AS without restarting broker
(and loosing messages).