Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MaxPermSize Warning in Eclipse WildFly 8 and Java 8

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?

like image 613
Johnny2012 Avatar asked Jul 28 '15 09:07

Johnny2012


People also ask

What is XX MaxPermSize?

The -XX:MaxPermSize option specifies the maximum size for the permanent generation, which is the memory holding objects such as classes and methods. Properly tuning this parameter can reduce memory issues in the permanent generation.


1 Answers

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.

like image 117
sprockets Avatar answered Nov 14 '22 23:11

sprockets