Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0解决
idea项目启动时提示:
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=512m; support was removed in 8.0
出现这种状况的原因是,我的启动参数设置:
这是因为我用的是JDK8的原因,在JDK8中已经移除了MaxPermSize
选项,所以在设置时应注意:
JDK7
-XX:PermSize=512m -XX:MaxPermSize=1024m
JDK8
-XX:PermSize=512m
参考:
1.Compatibility Guide for JDK 8;
2.Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize