Does anyone konw if there are known memory leaks with the OCC Mesh algorithms. The following code generates a steady consumption of memory which is only released when the application closes
TopoDS_Wire wireShape( w.Wire());
TopoDS_Face f( faceBuilder.Face());
If you comment out the BRepMesh_IncrementalMesh line the memory consumtion flatlines. BRepTools::Clean seems to have no impact whatsoever on memory usage.
I am a real fan of OCC but this as I only really need mesh generation from a BRep model and I need to do this a lot of times, this problem is show stopper for me.
I have tried working through the source and wonder if it may be some form of cyclic referencing that is stopping the OCC memory manager from cleaning up. Does anyone have any ideas please?