How to change JVM arguments for Jira?

Serge Dukic January 14, 2013

Hi,

I'd like to change the Garbage Collection strategy used by our Jira instance (version 4.4.5). I've followed the instructions found here and added the following line to setenv.sh:

JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC"

However, after a restart the old Garbage Collection algorithm (UseParallelOldGC) is still being used.

How can you change the JVM arguments that Jira starts with?

1 answer

1 accepted

0 votes
Answer accepted
Harry Chan
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.
January 14, 2013

Hi, I assume you are running this on Linux. Can you post the whole setenv.sh file where you've made the modifications? Also do you have any custom startup scripts?

Serge Dukic January 14, 2013

After double checking the configuration, realised that I was modifying the wrong setenv.sh file. The file I was modifying belongs to a previous install of Jira and is not used by the startup script.

Suggest an answer

Log in or Sign up to answer