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

121
Vistas
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 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