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

0 votes
Answer accepted
Ritesh Khatri
Contributor
July 24, 2024 edited

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events