Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,755
Community Members
 
Community Events
168
Community Groups

I am getting error when starting jira from command line

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 Sep 02, 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

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