在哪里可以找到Eclipse-WildFly系统中的所有MaxPermSize? [英] Where to find all the MaxPermSize in Eclipse-WildFly system?

查看:394
本文介绍了在哪里可以找到Eclipse-WildFly系统中的所有MaxPermSize?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的系统上的所有地方MaxPermSize可以设置哪里?我使用Eclipse 4.4,WildFly和jdk 1.8。



每当我停止WildFly时,我会收到此警告:

  Java HotSpot(TM)服务器VM警告:忽略选项MaxPermSize = 256m;支持被删除在8.0 

我想通过用MaxMetaspaceSize替换所有的MaxPermSize来消除支持。感谢您的帮助。

解决方案


  1. 转到运行 - >运行配置在主文件菜单。查找您尝试运行的具体实例。此配置的布局取决于您正在运行的项目类型,但大多数情况下,在其中一个选项卡下,您可以找到VM参数的一节。对于GWT Web应用程序,该部分位于名为(x)参数


  2. 的选项卡上,如果使用Maven构建,请检查您的pom.xml文件。我发现两个地方添加了JVM参数,一次在'jvmArgs'标签之间,再次在'extraJvmArgs'标签之间。如果您在jvm上执行Control + F,您可能会为其列出的地方。



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. 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.

这篇关于在哪里可以找到Eclipse-WildFly系统中的所有MaxPermSize?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆