Need to check MaxPermSize: Unrecognized VM parameter

How to check maxpermsize from command line? Getting unrecorgnized VM options error. Version below

 D:\apps\Tomcat\bin>java -XX:+PrintFlagsFinal Unrecognized VM option '+PrintFlagsFinal' Could not create the Java virtual machine. D:\apps\Tomcat\bin>java -version java version "1.6.0_20" Java(TM) SE Runtime Environment (build 1.6.0_20-b02) Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode) 
+6
source share
2 answers

The VM option is not supported in your current version of the JVM. From this article , this is similar to Java 6u23.

+1
source

You can use the debugger to check the actual value:

gdb -q java -ex run -ex "print MaxPermSize" -ex quit

0
source

Source: https://habr.com/ru/post/979725/


All Articles