Permanent Generation (PermGen) space removed in Java 8
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.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
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.