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

customize environment to run jira in debug mode

Andrea March 26, 2015

Hello to everybody, this is my first question and  I'm really new to JIRA development , so, please forgive me if my question has no sense!

I'm running an instance of JIRA locally in debug mode and it consumes a lot of memory, too much, so much that working has become slow and hard.

I have a 4GB ram on a Ubuntu 14.04 computer. I don't use eclipse but a simply text editor like sublime because I do mostly frontend tasks on velocity templates which means I don't need to do backend debugging. 

My question is the following: I'm quite sure that running atlas-debug command I'm loading a lot of stuff I will never use, neither need (like fastdev), is there any way to customize or configure what is loaded when I run JIRA in debug mode to avoid useless memory consumption? 

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Paulo Hennig
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2015

To customize what is loaded when you run JIRA, you'll need to Set Properties and Options on Startup.

You can also take a look here and the troubleshooting KB.

 

 

0 votes
Andrea April 30, 2015

I endend up with this

atlas-debug -Dmaven.javadoc.skip=true -Dstructure.sync.guard.maxAutosyncsWithoutUserChanges=0 -Dstructure.sync.guard.email.owner.disable=true -Dstructure.sync.guard.email.admin.disable=true -Datlassian.mail.senddisabled=true -Datlassian.mail.fetchdisabled=true -Datlassian.mail.popdisabled=true -Dmail.debug=false -Dfile.encoding=UTF-8 -Datlassian.standalone=JIRA --jvmargs "-Xmx512m -Xms512m -XX:MaxPermSize=512m"

 

My computer now goes quite faster but I'm sure I can improve it more.
I haven't found yet a way to not have some plugins loaded at startup (like fastdev, jirafisheyeplugin and so on..) 

And I have an issue with html entities described here html-entities-are-not-rendered-properly-running-atlas-debug

 

TAGS
AUG Leaders

Atlassian Community Events