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

不打扰是莪最后的温柔 提交于 2019-12-13 02:30:50

问题


Where are all the places on my system MaxPermSize might get set? I'm using Eclipse 4.4, WildFly and jdk 1.8.

I get this warning every time I stop WildFly:

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

I want to make it go away by replacing all the MaxPermSize by MaxMetaspaceSize. Thanks for the help.


回答1:


  1. Go to Run -> Run Configurations in the main file menu. Find the specific instance you are trying to run. The layout of this configuration depends on the type of project you are running, but for most, under one of the tabs you can find a section for VM arguments. For a GWT Web Application, the section is on a tab called '(x) Arguments'

  2. If you are using Maven to build, check your pom.xml file. I found two places where JVM arguments are added, once between a 'jvmArgs' tag, and again between a 'extraJvmArgs' tag. If you do a Control + F on 'jvm' you may a place where its listed for you.



来源:https://stackoverflow.com/questions/27932002/where-to-find-all-the-maxpermsize-in-eclipse-wildfly-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!