Hi, everyone,
If I remember correctly, Confluence 5.8 is the first confluence version which dropped support of Java 7.
Now, I'm running Confluence 5.8.4 with Java 8(1.8.0_45) on Mac OS X 10.10 Yosemite
After upgrading to Confluence 5.8 from 5.7, everyday it stops working due to "Out of memory : Metaspace" exception.
I see the explicit command line in following location.
INST_DIR/bin/setenv.sh
contains,
<span>CATALINA_OPTS="-Xms1024m -Xmx1024m <strong>-XX:MaxMetaspaceSize=256m</strong> -XX:+UseG1GC ${CATALINA_OPTS}"</span>
As far as I understand Metaspace for Java 8, the MaxMetaspaceSize is unlimited by default.
Why would we want to have limitation here instead of leave as it is?
From now on, I will remove MaxMetaspaceSize option, and will see what happens next.