如何在Centos 7.4或Plesk Onyx中设置正确的JAVA内存

时间:2018-06-05 21:03:20

标签: java confluence

自从使用Atomicorp ASL Web以及Centos 7.4下JAVA内存的大问题以来。我已经尝试过来自这个社区的许多解决方案,但遗憾的是没有什你能帮我吗?

当我想从Atlassian安装Confluence App时,我收到此错误消息。

    ./atlassian-confluence-6.9.0-x64.bin
Unpacking JRE ...
Starting Installer ...
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000039f25000000, 2555904, 1) failed; error='Operation not permitted' (errno=1)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 2555904 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /usr/bin/atlassian-confluence-6.9.0-x64.bin.764252.dir/hs_err_pid764289.log

我意识到这取决于Centos OS和根服务器。根服务器有64 GB的RAM,Atlassian应用程序平均需要大约2-4 GB的RAM。我当然有剩余的RAM。但正如我可以告诉JAVA,我无法得到它。

您需要哪些日志或我必须检查哪些SSH命令?提前谢谢。

P.S。

tail /usr/bin/atlassian-confluence-6.9.0-x64.bin.764252.dir/hs_err_pid764289.log
tail: cannot open ‘/usr/bin/atlassian-confluence-6.9.0-x64.bin.764252.dir/hs_err_pid764289.log’ for reading: No such file or directory

0 个答案:

没有答案