Docker and CI/CD · Senior · Question 21 of 75

Why can a container's memory usage appear high even when the app's heap is small?

Explanation

File cache is reclaimable, but the working set (what OOM decisions use) includes more than the JS heap. Look at RSS and working set, not just heap stats.

Further reading

Problem with a question

Docker and CI/CD · Senior · question 21

Test yourself

Take the Docker and CI/CD · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz