The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JS heap out of memory with forge application

Ritesh Khatri
Contributor
July 13, 2024

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'
}

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Ritesh Khatri
Contributor
July 24, 2024

found the solution. need to do clean cache using npm ci and remove the node module and do re install using npm install

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events