Forums

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

• The maximum memory allocation pool (-Xmx) is set to 786m but still not starti g up the JIRA

Devendar Gangapuram
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 27, 2022

Hi Team,

 

Today , I have upgraded my Java to jre1.8.0_341 , since then, JIRA is not starting up. So as per the logs, I had to set my "maximum memory allocation pool (-Xmx)" to 786m but still it is not starting. Could you guys please let me know how to over come this issue. If I set to 512m , JIRA is staring for a while and giving the below error. But after set it to 786m, its not at all starting. 

 

JIRA JVM atleast heap memory issues.PNG

1 answer

0 votes
Pramodh M
Community Champion
September 27, 2022

Hi @Devendar Gangapuram 

Find this configuration file in Installation Directory /opt/atlassian/jira/bin/setenv.sh

In case of Linux

JVM_MINIMUM_MEMORY="384m"
JVM_MAXIMUM_MEMORY="2048m"

Finally

JAVA_OPTS="-Xms${JVM_MINIMUM_MEMORY} -Xmx${JVM_MAXIMUM_MEMORY} ${JVM_CODE_CACHE_ARGS} ${JAVA_OPTS} ${JVM_REQUIRED_ARGS} ${DISABLE_NOTIFICATIONS} ${JVM_SUPPORT_RECOMMENDED_ARGS} ${JVM_EXTRA_ARGS} ${JIRA_HOME_MINUSD} ${START_JIRA_JAVA_OPTS}"

In case of Windows

Find this configuration file in Installation Directory C:\Program Files\Atlassian\Jira\bin\setenv.bat

set JVM_MINIMUM_MEMORY=384m
set JVM_MAXIMUM_MEMORY=2048m

Finally

set JAVA_OPTS=%JAVA_OPTS% -Xms%JVM_MINIMUM_MEMORY% -Xmx%JVM_MAXIMUM_MEMORY% %JVM_CODE_CACHE_ARGS% %JVM_REQUIRED_ARGS% %DISABLE_NOTIFICATIONS% %JVM_SUPPORT_RECOMMENDED_ARGS% %JVM_EXTRA_ARGS% %JIRA_HOME_MINUSD% %START_JIRA_JAVA_OPTS%

Find the above section and make the changes to the JVM_MAXIMUM_MEMORY to 1024m and check once?

Thanks,
Pramodh

Devendar Gangapuram
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 28, 2022

Thanks @Pramodh M ,

I have already tetsed with 1024m and 786m but no luck.  Please let me know for which value it works. Randoamly I am trying to modiy the value but still not working. 

Suggest an answer

Log in or Sign up to answer