-
I'm running a server in a pod in managed Kubernetes (Oracle OKE). In the YAML file for the server, I set a memory request of 4GB and a memory limit of 4GB as seen below. I unset the However, I've noticed that the pod is never using most of the memory limit assigned to it. According to the Kubernetes Metrics Server, the pod is only ever using up to around Even when the server is under load and loading chunks, the memory usage never goes far above 1300MB. This has been causing lag on the server and trigging this server log I'm fairly sure its not a CPU bottleneck because even when the CPU usage is not at the limit, the memory still will not go above 1300MB. I examined the "memory limit" section of the docs but haven't found anything that may be causing this. Any help is appreciated! YAML for Statefulset and Service:
Kubernetes metrics server:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ah it looks like I didn't read the docs closely enough. I just needed to set a larger heap size using the |
Beta Was this translation helpful? Give feedback.
Ah it looks like I didn't read the docs closely enough. I just needed to set a larger heap size using the
MEMORY
env var.