# Frequent browser crashes during loading

**URL:** <https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114>\
**Category:** CesiumJS\
**Created:** [November 12, 2021, 7:51am UTC](https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114 "2021-11-12T07:51:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hb1731276584](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hb1731276584/32/6772_2.png) [@Hb1731276584](https://community.cesium.com/u/Hb1731276584)\
**Post date:** [November 12, 2021, 7:51am UTC](https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114/1 "2021-11-12T07:51:24Z")

</div>

How to prevent the browser from crashing when cesium loads data. When loading 3dfileset data, it is scaled to the minimum level, with nearly 2000 JSON requests. First of all, these requests take a long time on the network. I can only configure the cluster through the nginx server. When the load is fast, the browser crashes. Because the data accuracy is relatively high, how to set a threshold to stop loading to the maximum extent.

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [November 16, 2021, 12:34am UTC](https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114/2 "2021-11-16T00:34:18Z")

</div>

Hi @Hb1731276584! Thank you for your question. Can you please provide some more information on how you are loading your data into CesiumJS? For instance, are you using Cesium ion or storing your data locally?

-Sam

---

<div class="post-metadata">

**Author:** ![Hb1731276584](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hb1731276584/32/6772_2.png) [@Hb1731276584](https://community.cesium.com/u/Hb1731276584)\
**Post date:** [November 16, 2021, 12:58am UTC](https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114/3 "2021-11-16T00:58:30Z")

</div>

Hi @sam.rothstein Put it in the Tomcat cluster, use nginx as the proxy, and use Vue to call the display

 ![image](https://global.discourse-cdn.com/cesium/original/2X/a/a1f3bf10e64149c7540bc82787e717f35f3fdaec.png)

---

<div class="post-metadata">

**Author:** ![Hb1731276584](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hb1731276584/32/6772_2.png) [@Hb1731276584](https://community.cesium.com/u/Hb1731276584)\
**Post date:** [November 16, 2021, 1:01am UTC](https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114/4 "2021-11-16T01:01:20Z")

</div>

Our data processing personnel have done top-level data processing. Maybe the top-level data accuracy is still relatively high. My idea is whether there can be a threshold to ensure that it will not crash under any circumstances. If the threshold is reached, let him stop loading

---

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [November 17, 2021, 4:02pm UTC](https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114/5 "2021-11-17T16:02:34Z")

</div>

@Hb1731276584

I wonder if decreasing the `maximumMemoryUsage` would suffice to set a threshold to stop loading your data at the maximum fidelity. I’m guessing that this also would improve the runtime performance of your application.

What error do you receive when the browser crashes?

-Sam

---

<div class="post-metadata">

**Author:** ![Alexander\_Johannesen](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/alexander_johannesen/32/2008_2.png) [@Alexander\_Johannesen](https://community.cesium.com/u/Alexander_Johannesen)\
**Post date:** [November 17, 2021, 11:12pm UTC](https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114/6 "2021-11-17T23:12:52Z")

</div>

I guess it also depends on what you mean by “crashing”, if it’s the rendering, or data load, data parsing (what sort of data?), are you doing colorising on the tiles, are you hooked to the tile loading events (there’s some issues around that, mostly memory management), and so on. Any more info you could share would be great (especially around the concept of crashing).

Cheers,

Alex

---

<div class="post-metadata">

**Author:** ![Hb1731276584](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hb1731276584/32/6772_2.png) [@Hb1731276584](https://community.cesium.com/u/Hb1731276584)\
**Post date:** [November 26, 2021, 1:31am UTC](https://community.cesium.com/t/frequent-browser-crashes-during-loading/16114/7 "2021-11-26T01:31:30Z")

</div>

Thanks, Alex. The problem is that the browser rendering crashes and the GPU is insufficient. The reason is that our data accuracy is very high, including the top-level data. This problem has been solved, mainly the data problem.  
Cheers!  
Alan
