Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Thread stack size in Jira/Confluence Server

Jose Luna
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 1, 2021

Hi all, 

I have installed Jira and Confluence server, I know that I can set values for Java memory use but I don't know exactly what means Thread stack size but I know that I can left 0 value by default. Can you help me to understand what it is?

1 answer

0 votes
Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 1, 2021

Hi Jose

welcome to the Atlassian community.

 Each thread in the VM get’s a private stack to store call stack information, local variables, and partial results.

The stack size will limit the number of threads that you can have. To modify the stack size you can change the -Xss setting for your JVM configuration  If the stack space is too small, eventually you will see an exception class java.lang.StackOverflowError.

Hope that helps

 

Cheers

Kurt

Suggest an answer

Log in or Sign up to answer