Out of memory when loading topojson with 14,000 polylines


I’m having a problem with loading a topojson file with 14,000 polylines data, Chrome (68.0.3440.106) gives an out of memory and crash sometimes. (I also tried to convert the json file to kml and get the same result)

I’d like to know if there’s any limitation of numbers of features can be displayed/ loaded in cesium (1.49)? I’ve also attached the sample file if it helps to diagnose the problem. Thanks for any help.

polyline.json (629 KB)

So I think the memory you’re running out of is the client’s, so that will be different depending on what the user is using to access your application.

3D Tiles was created to solve this issue of viewing arbitrarily large datasets by breaking them up. Vector tiles are currently still in progress (see the roadmap https://github.com/AnalyticalGraphicsInc/3d-tiles/issues/25), but feel free to reach out if this is something you’d be interested in trying (see https://cesium.com/collaborate-with-us/ )

Thanks for the reply.

I’ve noticed that it might be a solution to use 3d tiles, however I didn’t find any way to convert existing data SHP, KML, Geojson or Topojson to 3D tiles. Do you have any advice?

Omar Shehata omar.sameh.shehata@gmail.com 于2018年9月10日周一 下午12:42写道:

Like I mentioned, we have some work-in-progress tiling pipelines. Nothing is released yet, so you might have to roll your own solution or reach out to Tim (tim@cesium.com) to discuss a collaboration.