R
Railway16mo ago
i_hemo_o

High memory usage in Node.js Express API

We are having a high usage in our Node.js Express API, the API be idle sometimes and the usage be like 500MB+ for hours even though no one is using the API, We assume that Prisma ORM might be causing the issue, but not sure exactly, we have a cron jobs running with node-cron but it's only running late at night when no one is even awake to use the API, we don't have a lot of traffic to begin with so why the memory usage is so high?
3 Replies
Percy
Percy16mo ago
Project ID: 316a4ff2-8aae-4518-9ca2-b5473b0f9426
i_hemo_o
i_hemo_oOP16mo ago
316a4ff2-8aae-4518-9ca2-b5473b0f9426
Brody
Brody16mo ago
that looks like a memory leak to me, but it would be near impossible for us to tell you what's causing it
Want results from more Discord servers?
Add your server