Increase JVM Server Memory Settings
By default HornetQ runs in a maximum of 1GiB of RAM. To increase the memory settings change the -Xms and -Xmx memory settings as you would for any Java program. If you wish to add any more JVM arguments or tune the existing ones, the run scripts are the place to do it.