3 ms·
Java uses some memory for stack, about 1MB for each thread.
by jankotek 5y ago
Java uses some memory for stack, about 1MB for each thread.
- fulafel 5y agoThis doesn't in practice limit scaling though as it's linear and small in absolute terms vs what you can put in a server.
- MrBuddyCasino 5y agoThis is configurable, and 1MB is very generous. I think the JVM automatically grows the stack size as needed nowadays and starts low.