Hello, I'm using JBOSS 3.2.1 with JDK 1.4.
I doing a publisher program splitting a file (70 megs)
in packets (Non Durable, 1000 lines/packet).
MDBs (pool set to 10) are listening to analyse those packets.
After 1 minute sending packet, I always get this error (In JBOSS Server) : OutOfMemoryError. Following this error my program is
I tryed to change pool and message size but the problem is still there.
how to fix that ?
You need to set your vm heap using -xmx
Then change the message cache settings high/max memory mark
such that jboss starts pushing messages onto disk before memory is exhausted.
See many other posts for a more detailed explanation.