Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Centos 7.4或Plesk Onyx中设置正确的JAVA内存_Java_Confluence - Fatal编程技术网

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

如何在Centos 7.4或Plesk Onyx中设置正确的JAVA内存,java,confluence,Java,Confluence,自从使用Atomicorp ASL Web之后,我发现Centos 7.4下的JAVA内存出现了一些大问题。我已经尝试过这个社区的许多解决方案,但不幸的是,没有任何成功的办法。你能帮帮我吗 我想从Atlassian安装Confluence应用程序时收到此错误消息 ./atlassian-confluence-6.9.0-x64.bin Unpacking JRE ... Starting Installer ... Java HotSpot(TM) 64-Bit Server VM wa

自从使用Atomicorp ASL Web之后,我发现Centos 7.4下的JAVA内存出现了一些大问题。我已经尝试过这个社区的许多解决方案,但不幸的是,没有任何成功的办法。你能帮帮我吗

我想从Atlassian安装Confluence应用程序时收到此错误消息

    ./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和根服务器。根服务器有64 GB的RAM,Atlassian应用程序平均需要2-4 GB的RAM。我当然还有空内存。但正如我可以告诉JAVA的那样,我无法得到它

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

附言


看起来您正在运行安装程序,您是以root用户身份运行它吗?如果否,请尝试一下,似乎安装程序在解包JREHello Saleh时失败了,是的,这是一个用于confluence服务器的Linux bin安装程序。在第一次安装中,您始终是root用户。我的问题,但通过服务器重新安装已经可以解决。谢谢你抽出时间。我还在Centos 7.4和Plesk Onyx上安装了Java 8。现在效果很好。Atomicorp ASL Web已禁用我的服务器,卸载后出现许多错误。
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