Java warning: "ignoring option MaxPermSize"

Every time JIRA restarts, I get this message on stderr:

"Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0"

How do I tell JIRA to stop using that option, so that I won't get this alert anymore?


2 answers

1 accepted

This widget could not be displayed.

You should find it is set in / setenv.bat in the <JIRA install>/bin directory.  It's a harmless fault, but you can just edit it out of the setenv file to bin the warning.

Found it.  $JIRA/bin/

# Perm Gen size needs to be increased if encountering OutOfMemoryError: PermGen problems. Specifying PermGen size is not valid on IBM JDKs
if [ -f "${PRGDIR}/" ]; then
    echo "Detecting JVM PermGen support..."
    . "${PRGDIR}/"
    if [ $JAVA_PERMGEN_SUPPORTED = "true" ]; then
        echo "PermGen switch is supported. Setting to ${JIRA_MAX_PERM_SIZE}"
        echo "PermGen switch is NOT supported and will NOT be set automatically."


Seems to be a fault in the bin/ program, since that should've detected that Java would be upset if I asked for -XX:MaxPermSize. Reading bin/ , it looks like all it does is check if I'm using the IBM-branded Java:


"${JAVA_LOCATION}"/bin/java -version 2&gt;&amp;1 | grep IBM
if [ ${RT_CODE} -eq 0 ]; then

 Maybe I should file a bug report?

This is the change I have in for now: if [ -x "${JAVA_LOCATION}"/bin/java ]; then JAVA_VERSION="$(${JAVA_LOCATION}/bin/java -version 2>&1)" if echo $JAVA_VERSION | grep IBM >/dev/null; then JAVA_PERMGEN_SUPPORTED=false # TODO: detect if java version is >= 1.8 not just == 1.8 elif echo $JAVA_VERSION | grep 'version "1.8' >/dev/null; then JAVA_PERMGEN_SUPPORTED=false fi fi

I like that, I'd file it as an improvement over at

This widget could not be displayed.

MaxPermSize parameter in is obsolete since 6.3.3 ships with JRE 1.8.0_11.


Please take a look into this "bug":



Renato Rudnicki

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

578 views 25 15
Join discussion

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