Hi All,
How to address “java.lang.OutOfMemoryError: Java heap space” issues in 22R2.
The error is from “ ifsapp-reporting-ren”
What is the parameter/how to increase/decrease the heap size of a pod?
Best regards
Hi All,
How to address “java.lang.OutOfMemoryError: Java heap space” issues in 22R2.
The error is from “ ifsapp-reporting-ren”
What is the parameter/how to increase/decrease the heap size of a pod?
Best regards
Hi
First I would recommend going through the logs to see if there is any memory leak. Otherwise, increasing resources to the container will only delay the inevitable.
To answer your question regarding how to increase memory for workload resources, please check the scale
and cpuRatio
parameters under global section in the ifscloud-values.yaml file.
Refer to IFS Cloud documentation on this here:
Assuming this is a Remote deployment, you can manually edit the ifsapp-reporting-ren Deployment and update the limit values under the resources section of the Deployment manifest too, but this would be overridden when you run the mtinstaller. However it should be okay to try that in a non-production environment to see if the issue gets resolved.
kubectl edit deployment ifsapp-reporting-ren -n <namespace>
in a command line. This will open the manifest of the Deployment in a text editor. resources
section of the ifsapp-reporting-ren container and update the memory
value under limits
.Please refer to the Resource Management for Pods and Containers section of the K8s documentation:
https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#requests-and-limits
Hope this helps!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.