3 Replies Latest reply on Jul 19, 2006 6:19 AM by Manuel Duran Aguete

    OutOfMemoryError: unable to create new native thread

    Manuel Duran Aguete Newbie

      Hi all,
      I'm usign jboss 4.0.3 in debian stable with linux kernel 2.6.8-2-686-smp in a 2x Xeon CPU with Hyperthreading, Java HotSpot(TM) Server VM (build 1.5.0_05-b05, mixed mode) and 4GB RAM, af ter a few days my application throws a "OutOfMemoryError: unable to create new native thread" memory exception. I'm usign default jvm settings. ulimit -u says "unlimited". kernel ma x threads = 65535. JVM uses abot 1,5GB of system memory.

      What jvm parameters you recommend to avoid this ugly error?

      thanks in advance.