Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

  • No labels