2 Replies Latest reply on Dec 25, 2003 12:00 AM by Erik Weber

    OutOfMemoryError in Topic

    Erik Weber Newbie

      Hello all.

      I have subscribers not deployed so I can see what the Topic can hold.
      After I publish about 60MB worth of text messages, I get an OutOfMemoryError and an EOFException.
      Could someone help me with this please? (Surely I can store much more than 60MB, right?) This happens even when I wait a few seconds between publishing. However, I am keeping the messages from expiring, as I said, to see what the Topic can hold.

      -Erik

      [JBossMQ] INCOMING: (TX=null)ID16 => Topic@testTopic
      [JBossMQ] java.lang.OutOfMemoryError
      [JBossMQ] <<no stack trace available>>
      [EmbeddedTomcatSX] java.io.EOFException
      [EmbeddedTomcatSX] at java.io.ObjectInputStream.readByte(ObjectInputStream.java:1907)
      [EmbeddedTomcatSX] at org.jbossmq.distributed.server.DistributedJMSServerUILClient.waitAnswer(DistributedJMSServerUILClient.java:107)
      [EmbeddedTomcatSX] at org.jbossmq.distributed.server.DistributedJMSServerUILClient.addMessage(DistributedJMSServerUILClient.java:211)
      [EmbeddedTomcatSX] at org.jbossmq.SpyConnection.sendToServer(SpyConnection.java:387)
      [EmbeddedTomcatSX] at org.jbossmq.SpySession.sendMessage(SpySession.java:383)