Forums

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

Jira configure database failed

Damian January 10, 2020

Hi,

I haved installed jira, but when i open the setup page en fill in the database configuration. The pages loads forever and in the logs i see a out of memory exception.

"(java.lang.OutOfMemoryError: unable to create new native thread)"

Does anyone know how to fix this?

Damian

3 answers

1 accepted

0 votes
Answer accepted
Grigory Salnikov
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.
January 10, 2020
Damian January 13, 2020

Hello @Grigory Salnikov

Thank you for your help. Unfortunalety the link you describe does not fix the problem. 

I followed every step but the jira keeps showing me the error page  and the logs still says the error as described above.

I run jira in a virtual machine, is it possible the problem lays there?

Grigory Salnikov
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.
January 13, 2020

Hi @Damian !

Yes, it might be the issue. How much free RAM does your server have? You can check it using the following command:

free -m
Grigory Salnikov
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.
January 13, 2020
Damian January 13, 2020

Hi @Grigory Salnikov

The virtual machine has 7.4 gb ram left, i do not have access to host machine. (It is hosted by strato.nl) 

Damian January 13, 2020

Hi @Grigory Salnikov

The article jou provided has fixed the problem. Thank you for your help, your amazing.

Like Grigory Salnikov likes this
Grigory Salnikov
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.
January 13, 2020

Hi @Damian !

I'm glad it worked and you're always welcome.

Have a nice day!

0 votes
Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 10, 2020

Hi @Damian 

You can increase the heap size following the steps here:

If you are increasing the heap size to be more than 4gb, we recommend using G1GC as it is more efficient for instance with larger heap

To use G1GC, please add this parameter to the JVM arguments as per Setting properties and options on startup and then restart JIRA

-XX:+UseG1GC 

(i) Restart JIRA for the changes to take effect.  

Damian January 10, 2020

Hey @Adrian Stephen

Thank you for your help, unfortunately increasing the heap size doesnot fix this problem. I have raised the heapsize to 4gb. Which should be enough i think, as this is a fresh installation with no users and projects yet. 

If it helps, in the logs i see error that the navigation plugin could not be loaded. Maybe the problem lies there?

0 votes
O
Contributor
January 10, 2020

Sounds like you need to increase the amount of RAM you have allocated on the server. The link below may be of some help:

https://confluence.atlassian.com/doc/server-hardware-requirements-guide-30736403.html

I recommend increasing the RAM, restarting and running the installer again.

Suggest an answer

Log in or Sign up to answer