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).