Problem
The Permanent Generation (PermGen) space has been completely removed in Java 8.
If you specify the Maximum PermGen Size option (-XX:MaxPermSize=<NNN>
) for a Java 8 VM, you may see a warning message similar to the following.
Resolution
The PermGen space is superseded by a new space called Metaspace in Java 8.
You can specify the Maximum Metaspace Size with the analogous -XX:MaxMetaspaceSize=<NNN>
option; however, the default (no limit) is recommended for most deployments.