When using EditableMesh’s I run into an error where studio leaks memory and freezes. The ram usage jumps from around 2gb to around 10gb - 16gb. Then after a few minutes the studio console outputs std::bad_alloc
.
I initially thought that the amount of vertices and triangles created were higher than the documented allowed limit but after more investigating I discovered that this was not the case as my triangle and vertex count were well below the documented allowed limit.
My Specs
- Apple M2 Max
- 32GB RAM
Steps To Reproduce
- Open EditableMeshRepro.rbxl (55.1 KB)
- Press the run button
- Studio should freeze and leak memory.
When did this start happening
This started happening after version 602
(the update that renamed DynamicMesh
to EditableMesh
).