OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release

#腾讯云ECS主机docker安装elasticsearch 7.1.1版本启动报错解决

1.主机系统

CentOS Linux release 7.9.2009 (Core)

2.镜像名称版本

elasticsearch 7.1.1

3.报错信息

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release

 

 4.解决方法

1.修改elastic/config/jvm.options配置文件中开始内存和结束内存的大小,是的Xmx > Xms 

原配置:

-Xms2g
-Xmx2g

修改后配置

-Xms1g
-Xmx2g

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release

 

 5.重启es容器,报错消失

6.说明,这个报错在centos7.8和7.6上是没有的

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release

上一篇:IOS UIPickView+sqlite 选择中国所有城市案例


下一篇:docker 启动报错