Skip to content

Tag Archives: java 1.5

How to determine how many threads you can create from Java

19-May-10

I was getting Out of Memory Error: can’t create native thread errors on a server, and it was definately not running out of memory, so I hacked this little program together to tell me how many threads I should be able to create. 64K is the minimum stack size that Java will allow on an [...]