Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

265
Views
Electron process running after closing, eating RAM and Processor

I'm working on a new Electron application and frequently have to go into my task manager and kill a bunch of lingering Electron processes as it eats away at my ram. In the screenshot, one of them is using 17,000 MB of RAM, slowing my laptop down. Is there a way to prevent the processes from running after quitting the application? Will this 'feature' be present when running a build and deploying to production?

Is there a way to monitor exactly why this process is eating up so much RAM? With the application closed, I don't have any access to the dev console

Lingering electron process using a lot of RAM

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Does your code call app.quit when you close it? No idea why you are getting that much ram usage, but if you don't have these lines it would make sense that the executable continues to run.

app.on('window-all-closed', () => {
    if (process.platform !== 'darwin') {
        console.log("Closing program.")
        app.quit()
    }
})
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!