I think 1 million messages in one transaction is too big.
Maybe you can make your messages more compact to save memory. For example you can pack
every 1000 numbers into one message, so you reduce the message number to about 1000
messages per transaction.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252858#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...