Howto set JAVA_OPTS for Crucible/Fisheye

Hi

I have some issues with our crucible installation (it crashes sometime), and have dialed it down to be because of too little Java Heap Space - but it seems to be a bit of a issue to set.

If i put my new higher -Xmx1536m into $FISHEYE_HOME/fisheyectl.sh in the "FISHEYE_OPTS" part it looks like this in processlist:

/usr/local/java/bin/java -Xmx1024m -XX:MaxNewSize=128m -XX:MaxPermSize=256m -Xmx1536m -Dfisheye.library.path= -Dfisheye.inst=/usr/local/crucible -Djava.awt.headless=true -Djava.endorsed.dirs=/usr/local/crucible/lib/endorsed -jar /usr/local/crucible/fisheyeboot.jar start

So it still starts with the one mentioned first.

I cant figure out where the -Xmx1024m -XX:MaxNewSize=128m -XX:MaxPermSize=256m is coming from, it is not mentioned in the .sh files

The only place i have grepped out is inside the fisheyeboot.jar - but do i really have to unpack, edit and repack a JAR file to change this?

Thank you

3 answers

Simple option is to override -XX:MaxNewSize=128m to a value of your choice in the FISHEYE_OPTS, the call $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter will ignore if the option is already set..

Hi

The variables i've tried to change is the ones mentioned in those articles, so it's not helping me further :/

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

67 views 0 11
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