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
I'm attempting to add a large number of SVGs (>100k) to the map. This works fine when using simple Billboard Primitives, but when using the Entities API, Chrome (63.0.3239.84) crashes. Developer Tools indicates "Paused before potential out-of-memory crash". (IIRC I've had Firefox crash on me before as well, but can't confirm that right now...it seems to be working even with 120k entities)
Hi @greenlaw, yes unfortunately there is a little more memory overhead when using entities. Using a BillboardCollection directly is probably the way to go when you're adding this many billboards to the scene. Ultimately, I think using 3d-tiles vector tiles will be the recommended solution for adding a large amount of billboards like this. The vector tiles specification is still in progress, but we have a roadmap issue here: CesiumGS/3d-tiles#25
I'm going to close this issue because I don't think there is anything actionable for us at this time. I'm glad you were able to use billboards to solve your problem!
I'm attempting to add a large number of SVGs (>100k) to the map. This works fine when using simple Billboard Primitives, but when using the Entities API, Chrome (63.0.3239.84) crashes. Developer Tools indicates "Paused before potential out-of-memory crash". (IIRC I've had Firefox crash on me before as well, but can't confirm that right now...it seems to be working even with 120k entities)
Working example (using Billboards): https://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=15e289eefc2d71246b7b81f7c1dd3aad
Crashing example (using Entities): https://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=ebe7cb3c20394e45efdd5e47ea226d3a
The text was updated successfully, but these errors were encountered: