• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue There is insufficient memory for the Java Runtime Environment to continue

Alexander Liebrecht

Basic Pleskian
Hello Plesk Community and Developers,

I run such Linux apps as Confluence in Plesk and now there is an error message from JAVA when starting Confluence via SSH. It looks like this.

Code:
Using CATALINA_BASE:   /opt/atlassian/confluence
Using CATALINA_HOME:   /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME:        /opt/atlassian/confluence/jre/
Using CLASSPATH:       /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID:    /opt/atlassian/confluence/work/catalina.pid
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=1024m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000034eb8000000, 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:
# /tmp/hs_err_pid222463.log

It means that memory is not enough, although it worked before. The data /etc/tomcat/tomcat.conf I had to create extra, but I can not run "service tomcat restart" because I do not exist.

How can it be and how can I tell JAVA that I have enough memory? It's Plesk Onyx in its latest release, Centos 7.4, 64bit and I have 64GB of RAM memory.

P.S. Content from Log ist this:

Code:
tail /tmp/hs_err_pid222463.log



Memory: 4k page, physical 65909196k(41683912k free), swap 8388604k(8388604k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (25.162-b12) for linux-amd64 JRE (1.8.0_162-b12), built on Dec 19 2017 21:15:48 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

time: Thu May 31 18:27:44 2018
elapsed time: 0 seconds (0d 0h 0m 0s)

Thank you in advance for your efforts.
 
Back
Top