Hello, I was wondering if the following problem is a result of user error or if it is a bug. When updating the position of fat lines from the Three.js examples in the onAnimate callback, memory usage in Firefox constantly increases before eventually crashing the tab. This occurs even if only a single line’s position is updated and if the position is never actually changed. Adding more lines increases the rate of memory usage accordingly. Here is a JsFiddle demonstrating the problem:
Am I meant to be doing something different in this instance, such as updating object positions outside of the animation loop? The reason I want to update the positions so often is because I am using fat lines to connect moving points. I appreciate any guidance, and let me know if I should provide more information!
I’ve now found that even updating the position of normal lines causes the memory to runaway, meaning that I am most likely doing this incorrectly. JSFiddle here: https://jsfiddle.net/IdreesInc/L8gm01s3/3/
If anybody knows why my setup is causing memory to grow out of control, I’d appreciate any pointers!