Closed
Description
Describe the task
Currently on hitting some of the API's containing heavy data, we are facing an error of OOMKilled
and the server gets automatically killed somewhat like this:
API's failing
Logs:
Expected behavior
In order to handle the above case, we need to implement an automatic restart mechanism that detects when the server encounters the OOMKilled error and automatically restarts the server.