Forums

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

How to know the which type Java GC mode we are using in Jira??

Raju Anumula May 14, 2018

We have Different type GC modes( parallel, G1....)  are available in Java right?? How to Know the which type of Java GC mode we are using in Jira?

Please give me Exact path for GC mode.

Thanking you in advance.

 

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
May 14, 2018

Inside Jira, look at the system information page.  From a command line on the server, the output from ps -ef will give you the flags the JVM is running with.

Raju Anumula May 14, 2018

Sorry Nic i tried both( search under system info AND in server i search

ps -ef|grep jira)  but i didn't get GC mode in my jira.

Nic Brough -Adaptavist-
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.
May 14, 2018

Both options tell you the flags the JVM is running with, including any GC options.  If none are set, then it is running with the defaults

Raju Anumula May 14, 2018

thanks a lot Nic,

How can i change default to G1 mode(this is not clear, this information related JVM not GC mode https://community.atlassian.com/t5/Jira-questions/Jira-Improvement-Change-Java-GC-mode-switch-to-G1/qaq-p/794179) , please give me exact solution for change GC mode.

Thanking you in Advance.

Nic Brough -Adaptavist-
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.
May 14, 2018

The link you have named there explicitly tells you how to do this.  Please, read it properly.

Raju Anumula May 14, 2018

Sorry Nic,

i read properly, there is a information related JVM increase and setenv.sh(JVM_SUPPORT_RECOMMENDED_ARGS=) in Args i didn't found GC type in my jira and some articals about G1 mode but there is no exact process of change mode(default to G1), still i didn't get my GC mode type. please tell me exact path and how we can change default to G1.

thanking you in Advance.  

Nic Brough -Adaptavist-
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.
May 14, 2018

There's no point in me copying and pasting from that answer and the linked docs.  I can't tell you more than they do.

Suggest an answer

Log in or Sign up to answer