mcgregory at e-card.bg
Wed Nov 10 10:39:31 PST 2004
I want to ask what type are Java threads in FreeBSD - green or native ?
I'm using FreeBSD 5.3 and jdk 1.4.2 from ports, actually
I am a little bit confused: a sysctl entry
"kern.threads.max_threads_per_proc" says that one process can run max
1500 threads. But I wrote test and it crashes with:
'Exception in thread "main" java.lang.OutOfMemoryError: unable to create
new native thread', after starting ~ 8300 threads in the Virtual
So it sais "native" in the exception, but they are much more than 1500.
More information about the freebsd-java