cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NodeJS - Memory Usage misunderstanding on NodeJs Kubernetes application

YoniTordjeman
Visitor

Hi all,

I'm trying to analyze some NodeJS process memory metrics tu put them in a dedicated dashboard

This Node JS process is containerized on a kubernetes container/pod 

What's surprising is when I try to get the Node JS memory usage RSS (in yellow) compare to the memory usage of the container/pod(in blue)

YoniTordjeman_0-1748246611730.png

My question is how is it possible that the NodeJS process which is containerized in the pod is using more memory than the container iself ?

For total information, the container memory that I request is also a resident set memory metrics :

Metric requested on the container ==> builtin:containers.memory.residentSetBytes

Metric requested on the process ==> builtin:tech.nodejs.v8heap.rss 

 

Thanks !

 

0 REPLIES 0

Featured Posts