OpenJDK 64-Bit Server VM warning
时间: 2023-10-19 15:27:28 浏览: 206
idea 双击没反应 OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0
5星 · 资源好评率100%
引用中提到了OpenJDK 64-Bit Server VM warning的问题。这个警告是在JDK版本9.0中废弃了UseConcMarkSweepGC选项,并预计在将来的版本中会被删除。这个警告是在VM初始化过程中发生的,提示使用了被废弃的选项。
另外,引用中提到了在Linux Ubuntu上运行或编译占用大量内存的大软件或大项目时可能会出现errno12: Cannot allocate memory的错误。这个错误表示无法分配内存。
解决这些问题的方法可以参考引用中的步骤。首先,使用cd命令进入/opt/nubosh/vmsec-host/file/bin目录。然后,将icsfilesec重命名为icsfilesecbak。接下来,使用top命令查看icsfilesec的进程号。最后,使用kill -9命令加上进程号来终止icsfilesec进程。
综上所述,OpenJDK 64-Bit Server VM warning是在JDK版本9.0及以上的警告,表示使用了废弃的选项。在Linux Ubuntu上运行或编译大软件或大项目时可能会出现Cannot allocate memory的错误。解决方法是重命名相应文件并终止相关进程。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [idea 双击没反应 OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in ...](https://download.csdn.net/download/weixin_38703626/14039977)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(...)failed; error='...' (errno=12)](https://blog.csdn.net/eloudy/article/details/94638116)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005c0000000, 5726797824, 0) failed...](https://blog.csdn.net/weixin_38390307/article/details/122132878)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文