How to increase Memory Allocation

Sivarama Krishna
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.
October 8, 2015

Hi,

We installed JIRA in 64 bit machine which has 128 GB RAM.

But it is slow. When I check memory usage it shows only 682MB.

I would like to increase memory for JIRA Instance.

Can you please suggest the process to to increase memory?

 

Regards,

Sivaram

3 answers

0 votes
Mario Gluščić March 2, 2019

Hi.

I would ask everyone to read the official documentation. It will tell you how to calculate your memory request.
But, you won't find the complete solution there.
My suggestion is to set maximum memory twice as much you put for minimum memory.
Only in setenv.sh you must use double quotes!

1. Find in registry:

HKEY_LOCAL_MACHINE=>SOFTWARE=>Wow6432Node=>ApacheSoftware Foundation=>Procrun 2.0=>JIRASoftware<installation_number>=>Parameters=>Java
Minimum memory => Key: JvmMs Value: <minimum_memory_in_megabytes> (decimal)
Maximum memory => Key: JvmMx Value: <2*minimum_memory_in_megabytes> (decimal)

2. Find two files, setenv.sh and, setenv.bat:

<JIRA Installation folder>/bin/setenv.sh
JVM_MINIMUM_MEMORY="<minimum_memory_in_megabytes>m"
JVM_MAXIMUM_MEMORY="<2*minimum_memory_in_megabytes>m"

<JIRA Installation folder>/bin/setenv.bat
set JVM_MINIMUM_MEMORY=<minimum_memory_in_megabytes>m
set JVM_MAXIMUM_MEMORY=<2*minimum_memory_in_megabytes>m

3. Restart your Atlassian JIRA service.

0 votes
Gabor Nagy _Midori_
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.
October 8, 2015

Hi,

Check the official documentation, it has really detailed instructions:
https://confluence.atlassian.com/jira/increasing-jira-memory-5896.html 

Regards,

0 votes
Sumit 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.
October 8, 2015

you need to change setenv.sh(linux) or setenv.bat (windows) and set 

 

set JVM_MINIMUM_MEMORY=<size>g
set JVM_MAXIMUM_MEMORY=<size>g

 

to required size

Suggest an answer

Log in or Sign up to answer