4 ms·
>>> The default stack size (on 64-bit Linux) is 1MB The default thread stack size is 8 or 10 MB on most Linux. The exception is Alpine that's below 1 MB.
by user5994461 5y ago
>>> The default stack size (on 64-bit Linux) is 1MB
The default thread stack size is 8 or 10 MB on most Linux.
The exception is Alpine that's below 1 MB.
- ori_b 5y agoThe default reserved size is 8mb. The allocated size starts at a page (usually 4k), and grows in page sized increments as you use it.
- cbsmith 5y agoTo clarify, the 1MB is the default stack size for threads with the JVM on 64-bit Linux. Search for "-Xss": https://docs.oracle.com/en/java/javase/16/docs/specs/man/java.html https://docs.oracle.com/en/java/javase/16/docs/specs/man/jav...