I am using JBOSS Application server for my message migration. Even though, I have changed my heap size in the run.bat of JBoss bootstrap, I still get
java.lang.OutOfMemoryError: Java heap space
error when my message numbers exceed 30,000. The size of messages are very small, but it is not passing from that number. I test the same demand with JINI and JavaSpace, and it is working like a charm.
1) Do you guys know any other way that I should do to increase my heap size except Jboss run.bat?
2) Have you ever encountered such a problem even after increasing heap size?
3) Is there such a limitation in Jboss for its acceptable number of messages?