We have a small text box with 512Mb of ram. We wanted to see how many threads we can create in Java in this box. To our surprise, we can\'t create many. Essentially the minimum
It's not the programming language, it's on the operating system level.
More reading about it, for Windows: