您的位置:首页 > 编程语言 > Java开发

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

2017-04-08 16:07 495 查看
Compatibility Guide for JDK 8 says that in Java 8
the command line flag 
MaxPermSize
 has
been removed. The reason is that the permanent generation was removed from the hotspot heap and was moved to native memory. So in order to remove this message edit MAVEN_OPTS Environment User Variable:

Java 7
MAVEN_OPTS -Xmx512m -XX:MaxPermSize=128m


Java 8
MAVEN_OPTS -Xmx512m

所以这个警告正常

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐