Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize= ; support was removed in 8.0


Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=m; support was removed in 8.0

Since When

After migrating to Java 8


Remove  MaxPermSize  as this is not needed anymore.

You should see if you want to define MaxMetaspaceSize
-XX:MaxMetaspaceSize=<metaspace size>[g|m|k]

By default Metaspace in Java VM 8 is not limited, but for system stability it makes sense to limit it with some finite value.


The Permanent Generation (PermGen) space has completely been removed and is kind of replaced by a new space called Metaspace.The consequences of the PermGen removal is that obviously the PermSize and MaxPermSize JVM arguments are ignored and you will never get a java.lang.OutOfMemoryError: PermGen error. The JDK 8 HotSpot JVM is now using native memory for the representation of class metadata and is called Metaspace.

Must Read

You should read the below articles to find out what impact it will have on your application :

Like this post? Don’t forget to share it!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.