# Maximum 3d model size to load

**URL:** <https://discourse.threejs.org/t/maximum-3d-model-size-to-load/46077>\
**Category:** Questions\
**Tags:** gltf-loader\
**Created:** [December 21, 2022, 12:51pm UTC](https://discourse.threejs.org/t/maximum-3d-model-size-to-load/46077 "2022-12-21T12:51:18Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [December 21, 2022, 6:31pm UTC](https://discourse.threejs.org/t/maximum-3d-model-size-to-load/46077/21 "2022-12-21T18:31:29Z")

</div>

This runs totally smoothly in my browser, even before compression (which is still worthwhile). I think your code may have the wrong URL for the model, it is not crashing due to size, but a coding error. The JS Console:

 ![Screen Shot 2022-12-21 at 1.30.23 PM](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/1/3/138ebd262fe1c5b362c002e8b0a7627b47dfd7e0.png)

---

<div class="post-metadata">

**Author:** ![laksh12355](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@laksh12355](https://discourse.threejs.org/u/laksh12355)\
**Post date:** [December 21, 2022, 7:17pm UTC](https://discourse.threejs.org/t/maximum-3d-model-size-to-load/46077/22 "2022-12-21T19:17:35Z")

</div>

I m sorry the file name needs to be in the html file is q4dm.glb. i have sent the code with wrong glb file name. But anyway even that 13mb file runs in your browser smoothly with the code i sent you right(after you put thr correct glb name)? Maybe i must try with a different browser.

---

<div class="post-metadata">

**Author:** ![laksh12355](https://avatars.discourse-cdn.com/v4/letter/l/ed8c4c/32.png) [@laksh12355](https://discourse.threejs.org/u/laksh12355)\
**Post date:** [December 21, 2022, 7:18pm UTC](https://discourse.threejs.org/t/maximum-3d-model-size-to-load/46077/23 "2022-12-21T19:18:12Z")

</div>

Hi. May i know which tool you used to compress? Is it blender?

---

<div class="post-metadata">

**Author:** ![drcmda](https://avatars.discourse-cdn.com/v4/letter/d/91b2a8/32.png) [@drcmda](https://discourse.threejs.org/u/drcmda)\
**Post date:** [December 21, 2022, 7:55pm UTC](https://discourse.threejs.org/t/maximum-3d-model-size-to-load/46077/24 "2022-12-21T19:55:57Z")

</div>

the tool above, npx gltfjsx yourmodel.glb --transform

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [December 21, 2022, 11:37pm UTC](https://discourse.threejs.org/t/maximum-3d-model-size-to-load/46077/25 "2022-12-21T23:37:21Z")

</div>

I’d just tested the model in [https://gltf.report/](https://gltf.report/) and it runs very smoothly (in my Chromium-based browser, Arc). I didn’t inspect code to see if anything else might be slow though, or to fix the URL.

[Previous page](https://discourse.threejs.org/t/maximum-3d-model-size-to-load/46077.md?page=1)
