BabylonJS / Editor

Community managed visual editor for Babylon.js
http://editor.babylonjs.com/
812 stars 232 forks source link

Excessive memory usage when saving a project in the editor #457

Open EarlyBedEarlyUp opened 4 months ago

EarlyBedEarlyUp commented 4 months ago

Import a 200 MB .glb model, clone about ten copies of it in the scene, and when the save project operation is performed, the system memory usage reaches 8 GB, and when saving again, the memory usage is an additional 1 GB. if enough copies of the model are made, the program will crash.

  1. is this normal?
  2. Is there any way to optimise the memory footprint?

My system version: mac os 14.1 (m1 pro 16GB) Editor version: v4.4.0