Y
Hacker News
new
|
ask
|
show
|
jobs
by
jankotek
1673 days ago
Java uses some memory for stack, about 1MB for each thread.
2 comments
MrBuddyCasino
1673 days ago
This is configurable, and 1MB is very generous. I think the JVM automatically grows the stack size as needed nowadays and starts low.
link
fulafel
1672 days ago
This doesn't in practice limit scaling though as it's linear and small in absolute terms vs what you can put in a server.
link