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

Have memory allocation settings changed?

Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 17, 2016

According to this article the memory settings should be set in fisheyectl.sh (linux) by doing:

FISHEYE_OPTS="-Xms128m -Xmx1024m -XX:MaxPermSize=256m -Xss512k"

However on Crucible Fisheye 3.10.3 this string looks quite different:

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

 

Adding memory settings here, like this:

FISHEYE_OPTS=`$JAVACMD -Xms256m -Xmx2048m -XX:MaxPermSize=512m -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter`

 

Does not do anything, am i doing it wrong?

2 answers

1 accepted

0 votes
Answer accepted
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 18, 2016

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

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

0 votes
TPE November 1, 2016

In our Fisheye instance FISHEYE_OPTS is always set to -Xmx1024m by the subcommand  construction:

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

So we replaced this with 

FISHEYE_OPTS=" -Xmx2048m"

After restarting Fisheye this JVM input is really changed (according to System Information). However the Total memory is exactly the same as before with Xmx1024m.

According to http://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html this should have worked.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events