You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly please accept my apologies as this references a problem raised against another project, but the devs on this have suggested that I make you aware of a memory leak within Cesium under my particular scenario.
So our project makes use of Openlayers and ol-cesium, the project updates 2000 points from a geojson object at 15Hz. This data is supplied over a websocket.
Everytime the vector data is updated the vector source is cleared and the geojson is reloaded. The problem is that the ol-cesium (or the cesium library) is not releasing the resources on a source clear and hence can consume considerable amounts of memory very quickly.
The devs from openlayers are unsure at the moment but have suggested that you need to be made aware of this problem.
Are you having memory leak issues at the moment or should I ping this back to them ???
As a workaround I am dropping the layer and recreating it from scratch but this results in a significant flicker within the cesium map, any ideas ???
Thanks @HeavenlyHost! We've had a few other users report memory issues. Would you be able to put together a Sandcastle demo that reproduces the issue? That will make it a lot easier for us to track down what's going on. Thanks!
@HeavenlyHost for the blinking you mention in the linked issue, we fixed that with #5632 and it will be out with Cesium 1.36 on August 1st.
I would be surprised if the memory leak you describe is a Cesium issue, it sounds like it could be specific to ol-cesium. As @hpinkos alluded too, please provide a reduced test case that reproduces the issue and we'll be happy to take a look, otherwise there's not much we can do.
Firstly please accept my apologies as this references a problem raised against another project, but the devs on this have suggested that I make you aware of a memory leak within Cesium under my particular scenario.
So our project makes use of Openlayers and ol-cesium, the project updates 2000 points from a geojson object at 15Hz. This data is supplied over a websocket.
Everytime the vector data is updated the vector source is cleared and the geojson is reloaded. The problem is that the ol-cesium (or the cesium library) is not releasing the resources on a source clear and hence can consume considerable amounts of memory very quickly.
The devs from openlayers are unsure at the moment but have suggested that you need to be made aware of this problem.
Are you having memory leak issues at the moment or should I ping this back to them ???
As a workaround I am dropping the layer and recreating it from scratch but this results in a significant flicker within the cesium map, any ideas ???
For your reference see the following... here
The text was updated successfully, but these errors were encountered: