I am getting error when starting jira from command line

kirti rathi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2022

JIRA runs in a Java virtual machine (JVM), and this JVM is allocated an amount of memory to enable JIRA to run. These amounts can be manually configured.

  • The maximum memory allocation pool (-Xmx) is required to be at least 786m.

Could you please help resoilve this error

2 answers

0 votes
Mayur Jadhav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2022

Hello @kirti rathi ,

Welcome to the Atlassian Community!!

As per the error it say that JVM should have at least 786 MB of memory ideally it depend on the complexity of your instance.

Ideally it is recommended to keep JVM to 40% of your server RAM.

Please follow the below steps to modify the setenv,sh file.

To increase heap space memory in Linux installations:

  1. In your <Jira application installation directory>/bin (or <Tomcat Installation Directory>/bin for Jira WAR installations), open the setenv.sh file.
  2. Find the sections JVM_MINIMUM_MEMORY= and JVM_MAXIMUM_MEMORY=
  3. See Diagnosis above and enter the appropriate values.

 

Regards,
Mayur

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 2, 2022

Hi @kirti rathi welcome on the community. Can you share more information? What architecture you use (virtual server, cluster, local environment) and how do you start your instance? (bat file, sh file, service)? There is more information about increasing the memory here:

https://confluence.atlassian.com/adminjiraserver/increasing-jira-application-memory-938847654.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events