Symptom
When you try to open a database resource in HANA Cockpit, it failed with error "Cannot connect to backend service."
"xs a" command shows app cockpit-hdb-svc is not STARTED.
------------------------------------
cockpit-hdb-svc STARTED 0/1 - 768 MB <unlimited> 5/70/1899 https://hostname:51020
------------------------------------
cockpit-hdb-svc log shows the following OutOfMemoryError.
------------------------------------
10.10.22 08:15:50.032 [APP/18-3] ERR # java.lang.OutOfMemoryError: Java heap space
10.10.22 08:15:50.032 [APP/18-3] ERR # -XX:OnOutOfMemoryError="META-INF/.sap_java_buildpack/sapjvm/bin/killjava.sh"
10.10.22 08:15:50.032 [APP/18-3] ERR # Executing /bin/sh -c "META-INF/.sap_java_buildpack/sapjvm/bin/killjava.sh"...
10.10.22 08:15:50.038 [APP/18-3] ERR Stopping VM due to OutOfMemoryError
10.10.22 08:15:50.039 [APP/18-3] ERR Aborting due to java.lang.OutOfMemoryError: Java heap space
------------------------------------
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
SAP HANA Cockpit 2.0
Product
Keywords
HANA, HANA Cockpit, Cannot connect to backend service, database resource, java.lang.OutOfMemoryError, Stopping VM due to OutOfMemoryError , KBA , HAN-CPT-CPT2 , SAP HANA Cockpit version 2 - based on XSA , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.