🐛 [Bug] Backend Exceeds Heap Size Limit and Restarts
Created by: Tirokk
Authored by Tirokk Closed
🐛 Bugreport
Before Christmas the backend restarted every 5 minutes.
Matt and I have found that the heap size of the backend by default should be 1.5Gi.
It seems that we have to define:
spec:
containers:
resources:
requests:
memory: XXX
cpu: XXX
limits:
memory: XXX
cpu: XXX
And that should be done for the Neo4j database as well where only requests. memory
was already defined.
See:
- https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
- https://cloud.google.com/blog/products/gcp/kubernetes-best-practices-resource-requests-and-limits
Steps to reproduce the behavior
Restarted 24 time since 21.12.2019 … But does not since 25.12.2019 …
Expected behavior
Should not restart by error.
Additional context
Suggestions in VSCode are:
May we have to set requests
and limits
for web app as well!?