#High memory usage

1 messages · Page 1 of 1 (latest)

viral hill
#

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.

cosmic badgeBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

primal raft
#

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

viral hill
#

Yep, the issue is I have a team mate that has a 8GB M1 mac and is having trouble after 30 minutes.

primal raft
#

Well… 8GB is not enough to do nextjs these days outside small apps. Source: a former 8GB MacBook Air owner

#

16GB should be enough

#

Then nextjs will take around 5-7GB depending on factors

#

Nextjs will take more when you increase the RAM available

viral hill
#

Oh well, that is just the way it is then. Thanks