I recently posted a separate topic regarding the high RAM usage I was seeing in my deployed application (Out of memory error - #6 by dimitriborgers): For further research, I compared two applications to see why one was using much more RAM than the other.
One is marked as using ~92 MB in the metrics pane, and outputs the following on “free -m”:
render@srv-c3cf3qvvf37ommnlib60-b7c9cbd4c-kjvzn:~/project/src$ free -m total used free shared buff/cache available Mem: 42148 19026 1938 117 21183 24606 Swap: 0 0 0
Another is marked as using ~400 MB in the metrics pane, and outputs the following on “free -m”:
I’m not quite sure I understand why one is marked as 92MB and the other is 400MB, when both have very similar levels of “used” memory (as well as “buff/cache”, though I don’t think that should be counted as used memory). What am I missing that would explain the discrepancy?