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
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..
edit fisheyectl.sh in line FISHEYE_OPTS add your desired Xms or Xmx, for example FISHEYE_OPTS=`$JAVACMD -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter -Xms2048m -Xmx2048m -XX:MaxPermSize=256m`
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you have to restart the software for this to take effect?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, FishEye/Crucible restart is required as those settings are read on the JVM startup.
Cheers,
Piotr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have added FISHEYE_OPTS argument's in .bashrc file and it worked.
export FISHEYE_OPTS='-Xms6048m -Xmx6048m -XX:MaxPermSize=256m'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The variables i've tried to change is the ones mentioned in those articles, so it's not helping me further :/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i don't have any knowldge on firsheye/crucible, but the following links may help you to set JAVA_OPTS
https://confluence.atlassian.com/display/FISHEYE/Environment+variables
https://confluence.atlassian.com/display/FISHKB/Fix+Out+of+Memory+errors+by+increasing+available+memory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.