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

116
Visualizações
Vue-Cesium keeps spawning Cesium instances?

I'm trying to add a cesium instance to a website, but each time the component holding the cesium map loads it creates a new cesium instance without getting rid of the old one. This happens even if I call the .destroy() function or navigate to a component that does not show the map.

If I inspect the memory tab in the chrome dev tools each time I reload the component(without refreshing the page) it adds 30 MB in memory usage and spawns 4 JavaScript VM instances that never go away.

Currently using Vue2 and Vue-Cesium for Vue 2, and lazy loading any routes.

Is there any way to ensure the extra JavaScript VM instances die and the allocated memory gets properly freed? Or should I be storing a single Cesium instance in Vuex?

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