According to this stackoverflow post, there is a limit on Mac OS X 10.6 for how many threads can be created by JVM or any application. The limit can be displayed by running following command in terminal:
sysctl kern.num_threads
and
sysctl kern.num_taskthreads
systctl has the possibility to override these values on Linux, however not on OS X. According to this man page, those fields are not changeable.
So my question is, on OS X 10.6, is there another way to override the limit of how many threads can be created?