Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

264
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda