Three.JS makes a large number of different objects, how to ensure the number of frames and memory

you need to use ThreeJS to make an object, but the shape of the object is unpredictable, so it can"t be stored. Generation in motion (relying on setinterval) makes the number of frames very low; and somehow memory grows so fast that it takes dozens of seconds to reach the amount of memory that the page crashes. Can you answer this question? -sharp-sharp-sharp problem description

Menu