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

239
Visualizações
Inspect RSS memory

Background

Im investigating a potential memory leak in a nuxt project. We can only see the issue in production via the metrics of the AWS ECS that serves it.

I've been building the project locally with the --inspect flag and using siege to stress it, but the heap snapshots tell me nothing, and even though I can see a spike in memory usage, its always fully GC'ed after a "siege".

Current issues

If i run process.memoryUsage(), in the "node console" I can finally see that RSS is not GC'ed after a siege, it keeps increasing. So heap is stable, RSS is not. I've read that RSS is not included in heap snapshots and that it might not be any leak, just a need for more memory.

Question

Is there any way to inspect the RSS memory and see whats in there? How can I figure out if there is a leak or a general need for more memory?

Nuxt version 2.15.4

Node version 12.22.6

about 4 years ago · Juan Pablo Isaza
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