1. Created  a durable subsriber for 5 different topics and disonnected the
clients
2. Tried to send 1000 messages to each topic (message size =100kb) in
parallel
    5 threads were created each sending messages to different topics
     (Separate connection Factory lookup and topic lookup)  
    I got this error this

INFO  Service                        - Sync error occurred:
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

WARN  JournalMessageStore            - Message could not be added to long
term store: Java heap space
java.lang.OutOfMemoryError: Java heap space


I am running the activemq with -xms 256m -xmx1000m.
activemq.xml has 
 <memoryManager>  
        <usageManager id="memory-manager" limit="8048576000"/>
    </memoryManager>

Why is the error coming ?
-- 
View this message in context: 
http://www.nabble.com/INFO--Service--------------------------Sync-error-occurred%3A-java.lang.Ou-tf2152180.html#a5943593
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to