• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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