Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jankotek
· 5y ago · 0 comments
Java uses some memory for stack, about 1MB for each thread.
Comments
[–]
MrBuddyCasino
5y ago
This is configurable, and 1MB is very generous. I think the JVM automatically grows the stack size as needed nowadays and starts low.
[–]
fulafel
5y 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.