Then why is the OS memory usage increasing? Buffers and cached memory Luckily I also had memory usages of application processes recorded, but they were not increasing. So, they are basically from OS, which was Alpine Linux on Docker in this case. const os = require( "os") Ĭonst usage = ((free - total) / total) * 100 The memory usage was measured in the following Node.js code. After a while, I found that its memory usage % was growing slowly, like 20% in 3 days. Recently I started monitoring a Node.js app that we have been developing at work.
0 Comments
Leave a Reply. |