4 Replies Latest reply on May 23, 2008 2:16 AM by sandipvdhande

    Out of memory error running on PA-RISC

      From a fresh install of JBoss-4.0.0 running on HP-UX PA-RISC machine, using HP JDK1.4.2_04, we get an out of memory error. The stack trace is:

      org.jboss.util.threadpool.ThreadPoolFullException: java.lang.OutOfMemoryError: unable to create new native thread
      at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:340)
      at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:142)
      at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:158)
      at org.jnp.server.Main$AcceptHandler.run(Main.java:399)
      at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:97)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Thread.java:534)


      Has anyone seen similar behaviour or have any ideas?

        • 1. Re: Out of memory error running on PA-RISC

          The full stack trace was:

          16:44:54,271 ERROR [NamingService] Unexpected exception during accept
          org.jboss.util.threadpool.ThreadPoolFullException: java.lang.OutOfMemoryError: unable to create new native thread
          at org.jboss.util.threadpool.BasicThreadPool.execute(BasicThreadPool.java:340)
          at org.jboss.util.threadpool.BasicThreadPool.runTaskWrapper(BasicThreadPool.java:142)
          at org.jboss.util.threadpool.BasicThreadPool.run(BasicThreadPool.java:158)
          at org.jnp.server.Main$AcceptHandler.run(Main.java:399)
          at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:97)
          at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
          at java.lang.Thread.run(Thread.java:534)

          • 2. Re: Out of memory error running on PA-RISC
            starksm64

            Your exceeding the process thread limit apparently. Look into increasing it.

            • 3. Re: Out of memory error running on PA-RISC
              tmarrs

              I'm seeing the same thing on Windows XP. How do I increase the process thread limit on Windows XP? Thanks.

              • 4. org.jboss.util.threadpool.BasicThreadPool
                sandipvdhande

                how we can set it for better server performance