1 Reply Latest reply on Apr 25, 2013 8:11 AM by Andy Taylor

    Memory leak when calling injected stateless beans from MDB

    Florin Slev Newbie

      When a simple MDB, with an empty onMessage(Message arg0) method, consumes messages faster then they arrive on the queue, the memory evolution inside the jconsole is stable.

      However, when you have an injected stateless bean inside the MDB, and call it every time a message is received, the memory inside the Jconsole increases constantly, although the MDB consumes faster then it receives messages (messages DO NOT gather on the queue).




      public class MdbConsumer_1 implements MessageListener {



          MessageCounterFacade msgCounterBean;



          public void onMessage(Message msg) {






      Any thoughts on this issue ?