Bootstrap FreeKB - Tomcat - Resolve "Unrecongized VM option MaxMetaspaceSize"
Tomcat - Resolve "Unrecongized VM option MaxMetaspaceSize"

Updated:   |  Tomcat articles

"Unrecongized VM option MaxMetaspaceSize" will be in a Tomcat JVMs catalina.out log when the JVM is using the MaxMetaspaceSize argument and version 7 of Java.

JAVA_HOME=/opt/java7
MaxMetaspaceSize=128M

 

This occurs because the MaxMetaspaceSize argument was introduced in version 8 of Java. If your Tomcat JVM must use version 7 of Java, then you will want to use the -XX:MaxPermSize argument instead of the MaxMetaspaceSize argument.

-XX:MaxPermSize=128M

 

If your Tomcat JVM can use version 8 of Java, then you'll want to configure your Tomcat JVM to use version 8 of Java.

JAVA_HOME=/opt/java8

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter e82607 in the box below so that we can be sure you are a human.