Next.js Discord

Discord Forum

Node.js JavaScript Runtime high memory usage

Unanswered
ABUL KALAM posted this in #help-forum
Open in Discord
I am working on a Next.js application and for the last 2-3 days, I have been noticing an issue. The Node.js JavaScript Runtime starts consuming over 2GB of my memory as soon as I run the application.
Yesterday, I was facing a similar issue with Brave Dev tools while running my application and I switched to Edge.
What might be the reason?

9 Replies

Next.js is taking 2GB+ memory for almost everyone in the dev environment. It's pretty common
@averydelusionalperson Next.js is taking 2GB+ memory for almost everyone in the dev environment. It's pretty common
but isn't 3700 mb too much?
I have never noticed this much memory utilization before.
yeah, I think 3.7 GB is too much, even if it's next.js :thinq: . Try deleting .next folder and restart
@riský that's not really a solution tho
@ABUL KALAM i'll remove the duplicate
@joulev <@657067112434499595> that's not really a solution tho
i was trying to fulfil @averydelusionalperson's request and wasnt sure but they +1 with not much activity so wasnt sure... mb and sorry
@joulev <@563230508704858132> i'll remove the duplicate
The duplicate what?
@ABUL KALAM The duplicate what?
duplicate of this question. you reposted the question.