Solaris 10 thread limit

Hi,

Is there a limit on number of threads a Solaris process can create ?

Is Thread same as LWP ?

In Java, I am getting an error "Out of Memory: Unable to create Native Thread". I have 8GB on the system (though Java can use only 4GB). Does anybody has any idea what may be going wrong ?

Thanks in advance,

Vivek

[347 byte] By [Vivek.Gupta.eToucha] at [2007-11-26 20:17:46]
# 1
How many threads are you able to create before encountering 'Out of Memory ..." error? Did you experiment with different stack sizes(via -Xss JVM option) for each thread?
giri04a at 2007-7-10 0:41:06 > top of Java-index,Solaris Operating System,Solaris 10 Features...