Startup of atlas-mvn jira:debug continually ending in GC out of memory

Initial install following https://scriptrunner.adaptavist.com/latest/jira/DevEnvironment.html ; my laptop is Windows 10, has 21G, 4 core i7 cpu, with 512 G SSD ...

Set config for Jira 7.3.3; Service Desk 3.4.0; using

Clone of samples from https://bitbucket.org/Adaptavist/scriptrunner-samples.git

Got to log in thru localhost:8080/jira (I'm patient) but when creating first project goes into GC out of memory ... (repeated 4 times)

When restarted, I can connect and start administering but very long responce (minutes) ... is this normal?

I have yet to get to the actuel development (IntelliJ) IDE since this simply won't run for me ...

Will this work smoother in a Linux environment?

JIRA documentation discusses correcting GC properties in setenv.bat or JVM input args but where do I set the equivalent of setenv.bat file or args in this environment?

1 answer

Hi Larry, 

What you can do is to give some more memory to it. The best way to do this is in the configuration block in the pom.xml to have something like 

<configuration>
<jvmArgs>-Xmx4g -Xms2g -XX:MaxPermSize=1g -XX:-UseGCOverheadLimit</jvmArgs>
</configuration>

Give it a try and let me know how this goes. 

Kind regards, Thanos

Thank you for the answer, I added the jvmargs line in my pom under the jira sample and it did exactly what I needed ... not sure of any other side effects but instance started and shows added memory ... thanks again!

Cool, I would sugget to keep an eye in the logs for any anomalies tho.... 

regards, Thanos

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

51 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you