1 Reply Latest reply on May 28, 2003 7:56 PM by Adrian Brock

    OutOfMemory on JBoss startup

    Stephane Nicoll Master

      We're using JBoss 3.2.1 and Postgres 7.3.2

      We have an external J2EE client that sends message to a JBossMQ queue (let's say 10.000).

      JBossMQ uses postgresql as persitence manager

      I noticed that when we start JBoss, it pools JMS messages into memory on startup (is it correct?). The problem is that when there is 10.000 msgs in the queue, we got an OutOfMemoryError and we are not able to start properly (removing the msgs from the queue allows JBoss to start but of course it's not a solution :/)

      Any help? I was wondering if we can just simply disable this pooling on startup