Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

263
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda