1 Reply Latest reply on Dec 11, 2014 7:11 AM by Tomaz Cerar

    How to avoid message "Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0" in Wildfly 8.2?

    claudinei Newbie

      When I start WildFly 8.2 this shows in console: "Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0" the only way i found to avoid this is comment the above lines in bin/standalone.conf:

       

      #if [ "x$JAVA_OPTS" = "x" ]; then
      #   JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true"
      #   JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"
      #else
      #   echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS"
      #fi
      
      

       

      There is a better way to do this?

       

      Thanks.