Forums

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

How to Increase the Jira apllication Memory

Kumar
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.
November 26, 2018

Hi Team,

I want to increase my Jira application memory can you tell me How to increase step-by-step. Here I found the Memory of my application in  server

/opt/atlassian/jira/bin  -- setenv.sh 

JVM_MINIMUM_MEMORY="768m"
JVM_MAXIMUM_MEMORY="1024m"

 

Here I need to change my max memory to 2048m.

can any one suggest me step by step how to increase the memory .

 

Thanks,

Kumarout of memory.PNG

 

1 answer

1 accepted

0 votes
Answer accepted
Matt Doar
Community Champion
November 26, 2018
Kumar
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.
November 26, 2018

Hi @Matt Doar Thanks for your response

So instead of 1024m  i need to change to 2048m by running the command   vi setenv sh that's it right correct me if i'm wrong here please.

Thanks,

Kumar

Matt Doar
Community Champion
November 26, 2018

Yes, though you could also use emacs

Kumar
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.
November 27, 2018

Hi @Matt Doar Thanks for your response i'm performing like this correct me if i'm wrong 

1) Stop Jira

2) /jira/bin  vi stenv  sh

3) JVM_MINIMUM_MEMORY="768m"
  JVM_MAXIMUM_MEMORY="1024m"  //  changed to "2048m"

 :wq!

4) start jira

 

That's it  right i'm performing like this can you please correct me if i'm doing anything wrong

 

Thanks,

Kumar

Matt Doar
Community Champion
November 27, 2018

That is the general idea. Make sure you are comfortable with the editor you choose to use.

Use shutdown.sh rather than stop-jira.sh to avoid a kill-9 corrupting the Lucene index files

Kumar
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.
November 27, 2018

 Hi @  Thanks for your response

Usually when I shutdown and start my jira application before starting the jira I will use 

kill -9 1234 // some root number

i will kill the root and i will start the jira 

so you are saying me that while i'm performing this function are you saying to avoid to kill the root ???

 

Thanks,

Kumar

Suggest an answer

Log in or Sign up to answer