Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

OutOfMemoryError

Hello,

we have problems starting Jira after installation on a new Ubuntu 18.04 Server:

 

java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:717) at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.startWorkers(CaesiumSchedulerService.java:288) at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.startImpl(CaesiumSchedulerService.java:272) at com.atlassian.jira.scheduler.JiraCaesiumSchedulerService.startImpl(JiraCaesiumSchedulerService.java:33) at com.atlassian.scheduler.core.AbstractSchedulerService.start(AbstractSchedulerService.java:161) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.proceedIfAllClear(JiraSchedulerLauncher.java:36) at com.atlassian.jira.scheduler.JiraSchedulerLauncher.start(JiraSchedulerLauncher.java:22) at com.atlassian.jira.startup.ActiveServicesLauncher.start(ActiveServicesLauncher.java:56) at com.atlassian.jira.startup.DefaultJiraLauncher.postDBActivated(DefaultJiraLauncher.java:172) at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(DefaultJiraLauncher.java:146) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:301) at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(DatabaseConfigurationManagerImpl.java:196) at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:137) at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:104) at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31) at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:102) at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:154) at java.lang.Thread.run(Thread.java:748)

 

I installed Jira as mentioned here:
https://confluence.atlassian.com/adminjiraserver/installing-jira-applications-on-linux-938846841.html

The machine has 12GB Ram, there is no other Service installed.

I could send you the full log, but unfortunally your form doesn't have a file upload. Maybe I can send it afterwards?

Kind regards,

Thomas Liepe

 

2 answers

@Michael Kohls 

 

Can you check how the limits (number of procs, number of files) are configured for the suer running jira / system in general

 

see also

https://confluence.atlassian.com/jirakb/jira-applications-crash-due-to-outofmemoryerror-unable-to-create-new-native-thread-224397455.html

Cheers

Kurt

Hi,
thanks for your answer.

 

Unfortunatelly, I already tried this. Rebooted the machine after setting the settings. No success.

Check also your heap size in <JIRA_INSTALL>/bin/setenv.sh

Even though the VM has 12GB, the Jira JVM may not be told to utilise all this memory. Default is 1GB I think

And if you need support from Atlassian, try https://support.atlassian.com/contact/

Hi Jimmy,

thanks for your answer.

I already set the heap size temporarly to 8GB. Default was 2.

When the error occurs, top shows me, that java uses ~1,5GB, so the limit is far from reached.

 

We only have a starter-license. Unfortunately, Atlassian doesn't gives support for this.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

5,556 views 6 21
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you