Closed tmpvar closed 9 years ago
easy to reproduce:
var cubes = [];
for (var i=1; i<15000; i++) {
cubes.push(cube(i*20).translate(i*20, 0, 0));
}
display(cubes);
I believe using the collections in opencascade will allow reset
to work properly. the other memory bloat I'm not sure where it's coming from
narrowed it down to TopoDS_Builder
/ TopoDS_Compound
- Doubles the amount of used memory.
done as much as I can for now, moving out of this milestone
closing until we start hitting limits
when shipping back verts in
display()
the created buffers are never freed. This will take some reorganization to clean these up after the response has been encodedNote: this applies to more than just
display()
but it is a prime offender