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

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

How to update the Java heap size and total memory size displayed under system info of crucible

How to update the Java heap size and total memory size displayed under system info of crucible.

I Sorted it by simply adding the parameters in the FISHEYE_CMD string instead:

FISHEYE_CMD="$JAVACMD $FISHEYE_OPTS -Xms4096m -Xmx8192m -Dfisheye.library.path

but it displays both 1024MB and 2048MB and total memory also shows as 10.24MB.



1 answer

0 votes

Hey @Ramya Yarru - you should be able to control the amount of memory allocated to the Fisheye/Crucible JVM by using the $FISHEYE_OPTS environment variable. If you edit the JVM arguments anywhere else, it's possible that there could be some memory arguments that are being passed in earlier in the arguments which are overwriting the ones you're setting elsewhere.

  • You should be able to see the JVM and all of its included arguments by running a command akin to the following:

    • ps -aux | grep java

For more info on tuning the Fisheye JVM, I recommend checking out this knowledge article as it serves to address all of the different kinds of situations where your team may be looking to configure these heap values.

Hope this helps!


Evan Slaughter

Thanks for replying Evan.

So basically from your answer do you mean that i must change FISHEYE_OPTS environment variable in file?

I currently have the below assigned to it:

FISHEYE_OPTS =`$JAVACMD -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter`

So should i remove the whole thing and override it by the below?


but i have tried the above (removing the whole thing assigned to FISHEYE_OPTS and replacing by memory size) and i see the below in JVM argument wherein memory itself is not being reflected, please advise:

ps -aux | grep java
crucible 30086 95.5 13.9 3194112 543048 ? Sl 05:06 1:43 /usr/bin/java -Dfisheye.library.path= -Dfisheye.inst=/apps/crucible -Djava.awt.headless=true -Djava.endorsed.dirs=/apps/fecru-4.8.0/lib/endorsed -jar /apps/fecru-4.8.0/fisheyeboot.jar start

You would not want to edit this value in your file. Instead, you need to set the appropriate value for this in the actual environment variable for the user being used to run Fisheye.

For more information on these environment variables, and how you can set them in both Linux and Windows environments, you'll want to check out this knowledge article on environment variables in Fisheye. 

For example, if I append the following to the bottom of my /etc/profile file:

FISHEYE_OPTS="-Xms128m -Xmx1024m"

I can then see that when I restart Fisheye, that the environment variable was picked up and these JVM argument were appropriately added in:

2020-03-19_17h42_01.pngHope this helps expand on this information.


Evan Slaughter

Thanks Evan, i have tried exactly what you said but no luck :(

added the below in /etc/profile file to the bottom,restarted service but still i could see 1024m.

FISHEYE_OPTS="-Xms128m -Xmx1536m"


ps -aux | grep java
crucible 5165 98.7 11.9 3210520 464200 ? Sl 04:35 1:20 /usr/bin/java -Xmx1024m -Dfisheye.library.path= -Dfisheye.inst=/apps/crucible -Djava.awt.headless=true -Djava.endorsed.dirs=/apps/fecru-4.8.0/lib/endorsed -jar /apps/fecru-4.8.0/fisheyeboot.jar start
root 5423 0.0 0.0 115496 1308 pts/1 R+ 04:37 0:00 grep --color=auto java


I then modified and added export FISHEYE_OPTS="-Xmx1536m" to /etc/profile file which is actually the same and restarted the server, service and also opened a new shell but no luck.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

215 views 4 9
Read article

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