0 Replies Latest reply on Feb 18, 2004 2:17 PM by spageau

    out of memory error JBoss 3.2.2

    spageau

      Configuration:
      JBoss 3.2.2 with java 1.4.2, use of file-pm-service.xml found in docs/examples/jms instead of the default hsqldb-jdbc2-service.xml

      I am sending small XML files to JBoss, these files are sent via HTTP post, then the XMLs are sent to a durable entry topic, then a bean manipulates the XML and post to a durable exit topic for consumption by client.

      While stress testing sending XMLs as fast as the machine allows to the HTPP post, java.exe memory usage keeps on increasing. At some point I get an out of memory error. Increasing JVM only delays the problem but does not cure. Any idea would be appreciated...

      Error below:
      java.lang.OutOfMemoryError
      13:27:09,548 ERROR [JMSContainerInvoker] Exception in JMSCI message listener
      javax.ejb.EJBException: Unexpected Error
      java.lang.OutOfMemoryError
      at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:370)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:374)
      at org.jboss.ejb.Container.invoke(Container.java:700)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:824)
      at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1114)
      at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
      at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:633)
      at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:433)
      at org.jboss.mq.SpySession.run(SpySession.java:298)
      at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732)
      at java.lang.Thread.run(Thread.java:534)