OrientDB shutting down
search cancel

OrientDB shutting down

book

Article ID: 280191

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

F&R models are not getting displayed in portal and getting error as "Internal server_problem Error in creating or accessing the database". We have checked in backend and found that orientdb service is getting stopped after 2 -3 mins . We have analyzed the OrientDB logs and found the below error but we have minimum 25 GB free disk space.

2024-03-01 05:04:34:395 INFO  OrientDB Server is active v2.2.37 (build a7541e7ceeabf592dd9a7b2928b6c023cbc73193, branch 2.2.x). [OServer]Exception `22474756` in storage `plocal:C:/ProgramData/CA/CA Test Data Manager Portal/Orientdb/databases/OSystem`: 2.2.37 (build a7541e7ceeabf592dd9a7b2928b6c023cbc73193, branch 2.2.x)
java.lang.OutOfMemoryError
    at sun.misc.Unsafe.allocateMemory(Native Method)
    at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:127)
    at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)
    at com.orientechnologies.common.directmemory.OByteBufferPool.allocateBuffer(OByteBufferPool.java:410)
    at com.orientechnologies.common.directmemory.OByteBufferPool.acquireDirect(OByteBufferPool.java:361)

Environment

4.10.x

Cause

Checked and found that there is a MS SQL Server Database instance running on the same machine and it was consuming 90% of the total RAM(128 GB).

Resolution

Restart the SQL Server service which will release the RAM memory and OrientDB service will be able to start fine and F&R models would work fine from Portal UI.

As a prevention, check with a DBA and limit the consumption of MAX RAM by SQL Server instance.