# Cesium application crashed while rendering large geojson and kml

**URL:** <https://community.cesium.com/t/cesium-application-crashed-while-rendering-large-geojson-and-kml/20781>\
**Category:** CesiumJS\
**Created:** [October 13, 2022, 8:25am UTC](https://community.cesium.com/t/cesium-application-crashed-while-rendering-large-geojson-and-kml/20781 "2022-10-13T08:25:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Masum\_Billah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/masum_billah/32/10449_2.png) [@Masum\_Billah](https://community.cesium.com/u/Masum_Billah)\
**Post date:** [October 13, 2022, 8:25am UTC](https://community.cesium.com/t/cesium-application-crashed-while-rendering-large-geojson-and-kml/20781/1 "2022-10-13T08:25:13Z")

</div>

We have an application where we have used cesium js for rendering gis data.  
We have hosted our data into cesium ion. Our application can show small geojson and kml data nicely.  
But the application crashed while trying to load large geojson and kml files at a time.

Can you help with the issue?

 ![Screenshot 2022-10-13 142432](https://global.discourse-cdn.com/cesium/original/3X/b/7/b78f80b25e78e912dc3d287573da059ed6f2948d.png)

---

<div class="post-metadata">

**Author:** ![scottUFR](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/scottufr/32/3458_2.png) [@scottUFR](https://community.cesium.com/u/scottUFR)\
**Post date:** [October 13, 2022, 7:39pm UTC](https://community.cesium.com/t/cesium-application-crashed-while-rendering-large-geojson-and-kml/20781/2 "2022-10-13T19:39:01Z")

</div>

Because GeoJSON files are served “as-is” from Cesium ion, you’ll need to keep them small enough in mass (megabytes) and physical extent so that your application can display the most useful ones at any one time to prevent running out of memory.

Depending on what’s in your KML, you may benefit from tiling them into 3D Tiles assets which would handle the memory management issue for you. GeoJSON cannot be converted to 3D Tiles at this time.

If you characterize your data for us, there might be other options to try.
