8 Replies Latest reply on Dec 16, 2002 1:28 PM by Yan Jing

    Simple JMS Queue - Out of Memory error

    Jon Klem Newbie


      Running a very light load using three message queues. After sending a few messages across (20-30) over a period of 10-15 minutes we start seeing this fatal error message in the output log...

      java.lang.OutOfMemoryError: unable to create new native thread
      at java.lang.Thread.start(Native Method)
      at org.jboss.mq.il.oil.OILClientILService.start(OILClientILService.java:297)
      at org.jboss.mq.Connection.startILService(Connection.java:837)
      at org.jboss.mq.Connection.(Connection.java:244)
      at org.jboss.mq.Connection.(Connection.java:264)
      at org.jboss.mq.SpyConnection.(SpyConnection.java:59)
      at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:116)

      At this point, the JMS queues are rendered inoperable and the server must be killed an restarted. We are only seeing this problem on our production Sun platform to date. The app is also running on RedHat Linux and Win2K but we have not been able to repeat.

      We have been unable to come up with anything to explain this behavior. Any ideas would be appreciated.

      Thank you

      -Jon Klem