Out of memory errors.

Hi I get

#FATAL ERROR: Committing semi space failed. Allocation failed - JavaScript heap out of memory

when I try to run on expo client.So I was wondering how to set memory limit I have 16gb of ram more than 10gb is empty while I’m getting this error.plus it’s a small application that used to work.I reinstalled npm modules as well.But no luck.I changed the project and ran another project still getting the error.I also restarted with shift+r.But no luck at all.also used:

set NODE_OPTIONS=–max-old-space-size=8192

But still no luck.How can I get it fixed please help thank you all.

Hey @stevemoretz,

Can you run expo diagnostics and paste the log printed out here so we can see your env info?

Cheers,
Adam

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.