There is an embedded broker inside application, application sends messages to this vm ,and vm forwards messages to remote broker A. there is a consumer receiving messages on remote broker A using asyn mode. the configure uri like this - "vm:(broker:(network:static:(tcp://remotehostA:61616))?persistent=false)"
Since the speed that application send messages to VM is faster than VM forwarding messages to remote host. So there are many messages stored in VM waiting for forwarding to remotehostA, and the memory occupied by application becomes larger and larger. this can make application out of memory , right? Also ,when appliction stop sending messages, and VM forward all the messages to remote host A , the memory occupied by application does not decrease. this confumes me a lot. It seems more reasonable that VM should release the memory , since VM already forwards all the messages to remote host. right ? -- View this message in context: http://activemq.2283324.n4.nabble.com/problem-about-forwarding-bridge-from-VM-to-remote-host-tp4674060.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.