Next.js Discord

Discord Forum

High memory usage

Answered
American Chinchilla posted this in #help-forum
Open in Discord
American ChinchillaOP
After about an hour of using nextjs I find the process is using over 10GB of RAM, right now it is at 13GB. It is difficult to work with. are there any configurations I might be missing? I have found memory is used when HMR occurs.
Answered by joulev
Well… 8GB is not enough to do nextjs these days outside small apps. Source: a former 8GB MacBook Air owner
View full answer

9 Replies

Nextjs will use more memory on computers with more available memory, just like every other apps
Unless you have 16GB or less in this case, I wouldn’t worry much since it is normal
American ChinchillaOP
Yep, the issue is I have a team mate that has a 8GB M1 mac and is having trouble after 30 minutes.
Well… 8GB is not enough to do nextjs these days outside small apps. Source: a former 8GB MacBook Air owner
Answer
16GB should be enough
Then nextjs will take around 5-7GB depending on factors
Nextjs will take more when you increase the RAM available
American ChinchillaOP
Oh well, that is just the way it is then. Thanks