1 Reply Latest reply on Sep 10, 2007 9:28 PM by Eric Cartman

    Running out of memory with simple_cbr

    Eric Cartman Newbie

      I'm trying to run the example simple_cbr, but I'm getting this error:

      .....jbossesb/samples/quickstarts/simple_cbr/build.xml:15: java.lang.OutOfMemoryError: unable to create new native thread

      Total time: 1 minute 4 seconds
      java.lang.OutOfMemoryError: unable to create new native thread


      How much memory is needed ? I have 1GB.


      I already stripped down JBossAS and JBoss ESB to a minimal configuration without all the HTTP stuff:

      1. contract.war
      2. http-invoker.sar
      3. jboss-web.deployer
      4. jbossws.sar
      5. jbpm.esb/jbpm-console.war
      6. jms/jbossmq-httpil.sar
      7. jmx-console.war
      8. management/console-mgr.sar
      9. soap.esb
      10. soapui-client.sar

      Now it works... but after a few times, I'm getting the error again. And all the system fails with:

      /usr/bin/lesspipe: fork: Resource temporarily unavailable
      -bash: fork: Resource temporarily unavailable


      Thanks in advance,
      Eric