Memory Leak With Editable Mesh

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.

image

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


When did this start happening

This started happening after version 602 (the update that renamed DynamicMesh to EditableMesh).

4 Likes

Thanks for the bug report - we can repro this issue here, and think we have a fix. We’ll let you know when the fix is available in Studio. Thanks!

2 Likes

The specific error should be fixed in latest version of Studio (version 0.607). Please feel free to check it out. Thanks again for reporting the bug!

2 Likes

The issue has indeed been resolved. Thanks :+1:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.