Utilizing the shape extrusion tool within the system, I have been extruding shapes along a spline. However, I've encountered a problem where my RAM quickly becomes full every time I move the spline nodes, as I create a new mesh each time this action is performed.
scene.__removeObject(mesh);
Despite my attempts to delete the old mesh using the code above, the memory usage remains high and eventually crashes both Firefox Nightly and Chrome. I have looked into WebGL features and searched for Three.js solutions, but so far have not found a viable answer.
If anyone with more expertise in WebGL / Three.js can provide any guidance or tips on resolving this issue, it would be greatly appreciated. Thank you.