MaxPermSize Warning in Eclipse WildFly 8 and Java 8

Johnny2012 picture Johnny2012 · Jul 28, 2015 · Viewed 22.5k times · Source

i have upgraded to WildFly 8.2.0 from JBoss 7 and to Java 8 from Java 7.

I get everytime I stop the server in Eclipse this warning:

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

If I start and stop the Server from the CMD there is no warning like this, just in Eclipse. I have removed all MaxPermSize Settings from WildFly and can't find any setting about that in my Project. It just happens in Eclipse.

I have already checked this questions:

Where to find all the MaxPermSize in Eclipse-WildFly system?

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize

How do I make the "Java Hot Spot MaxPermSize" warning go away when using IntelliJ or Play?

and this page

How do I make the "Java Hot Spot MaxPermSize" warning go away when using IntelliJ or Play?

Answer

sprockets picture sprockets · Jul 28, 2015

You need to remove this argument from the "launch configuration" in your Wildfly server configuration in eclipse. It is no longer required when you are using java 8.

1) open server overview

2) click "open launch configuration"

3) edit "VM arguments" remove the " -XX:MaxPermSize=256m " argument.

4) save everything and start your wildfly via eclipse.

Message should be gone.