I have working with forge from last 6 months. I'm facing the JS heap out memory issue second laptop. so i have formatted and check the same. but still it's returning same issue where other application working well without issue. after some days it's seems happening to my device as well.
no change has been done to the code still facing the same error like below. Have applied all the solution like setting memory in packet-json. cleaning cache, removing temp file, increase ram, etc.
Error: Worker terminated due to reaching memory
limit: JS heap out of memory
at [kOnExit] (node:internal/worker:313:26)
at Worker.<computed>.onexit (node:internal/worker:229:20)
Emitted 'error' event on Worker instance at:
at [kOnExit] (node:internal/worker:313:12)
at Worker.<computed>.onexit (node:internal/worker:229:20) {
code: 'ERR_WORKER_OUT_OF_MEMORY'
}
found the solution. need to do clean cache using npm ci and remove the node module and do re install using npm install
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.